Skip to content

Commit c33ff26

Browse files
committed
FIX: force garbage collection before measuring delta-profile stats
1 parent 3a30769 commit c33ff26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mezz/mezz-debug.reb

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ dp: delta-profile: func [
2525
block [block!]
2626
/local start end adjust
2727
][
28-
; first count adjustments for empty code
28+
; first force GC
29+
recycle recycle
30+
; than count adjustments for empty code
2931
adjust: copy end: stats/profile
3032
do []
3133
stats/profile

0 commit comments

Comments
 (0)