Skip to content

Commit 6c278cc

Browse files
committed
maybe delete GC percentage to keep it short?
1 parent 717bf4c commit 6c278cc

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/execution.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,6 @@ macro btime(args...)
597597
if $trialallocs != 0
598598
$print(", ", $prettymemory($memory($trialmin)))
599599
end
600-
if $gctime($trialmean) != 0
601-
$print(". GC mean ",
602-
# $prettytime($gctime($trialmean); short=true), ", ",
603-
$prettypercent($gctime($trialmean) / $time($trialmean)),
604-
)
605-
end
606600
$println(")")
607601
$result
608602
end)

test/ExecutionTests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ let fname = tempname()
253253
end
254254
s2 = read(fname, String)
255255
try
256-
@test occursin(r", mean [0-9.]+ \w*s \([0-9]* allocations?, [0-9]+ bytes. GC mean [0-9.]+ \w*s,", s2)
256+
@test occursin(r", mean [0-9.]+ \w*s \([0-9]* allocations?, [0-9]+ bytes", s2)
257257
catch
258258
println(stderr, "@btime output didn't match ", repr(s))
259259
rethrow()

0 commit comments

Comments
 (0)