Skip to content

Commit 90a86b5

Browse files
committed
Fix / in postproccess to round() mem and allocs
1 parent f6a48f8 commit 90a86b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/runbench.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function /(a::BenchmarkTools.TrialEstimate, b::Int)
2020
mtol = params(a).memory_tolerance / b
2121
p = BenchmarkTools.Parameters(params(a); time_tolerance = ttol, memory_tolerance = mtol)
2222
return BenchmarkTools.TrialEstimate(p, time(a)/b, gctime(a)/b,
23-
memory(a)/b, allocs(a)/b)
23+
round(memory(a)/b), round(allocs(a)/b))
2424
end
2525

2626
function postprocess(results::BenchmarkGroup)

0 commit comments

Comments
 (0)