Skip to content

Commit 0dd9dde

Browse files
DilumAluthgeZentrik
authored andcommitted
Update execution.jl
1 parent c1db1e6 commit 0dd9dde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/execution.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ function _run(b::Benchmark, p::Parameters; verbose=false, pad="", kwargs...)
106106
start_time = Base.time()
107107
trial = Trial(params)
108108
params.gcsample && gcscrub()
109-
s = b.samplefunc(b.quote_vals, params)
110-
push!(trial, s[1:end-1]...)
111-
return_val = s.__return_val
109+
trial_contents = b.samplefunc(b.quote_vals, params)
110+
push!(trial, trial_contents)
111+
return_val = trial_contents.__return_val
112112
iters = 2
113113
while (Base.time() - start_time) < params.seconds && iters params.samples
114114
params.gcsample && gcscrub()

0 commit comments

Comments
 (0)