Skip to content

Commit

Permalink
Merge pull request #214 from tkoolen/fix-benchmarks
Browse files Browse the repository at this point in the history
Fix benchmarks.
  • Loading branch information
tkoolen authored Apr 24, 2017
2 parents e0212f4 + e7b4b4e commit 30e9c78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perf/runbenchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ end
function runbenchmarks()
suite = create_benchmark_suite()
tune!(suite)
for benchmark in values(suite)
benchmark.params.evals = 1 # IMPORTANT: otherwise we're testing caching
end

Profile.clear_malloc_data()
results = run(suite, verbose = true)
for result in results
Expand Down

0 comments on commit 30e9c78

Please sign in to comment.