Skip to content

Commit 64fc519

Browse files
authored
Merge pull request #195 from rdeits/benchmark-params
use json instead of jld2 param storage for benchmarks
2 parents 8193865 + 5a1b29c commit 64fc519

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

perf/benchmarks.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ for A in (collect(Float64, 1:3),
9696
end
9797
end
9898

99-
paramspath = joinpath(dirname(@__FILE__), "params.jld")
99+
paramspath = joinpath(dirname(@__FILE__), "params.json")
100100

101101
if isfile(paramspath)
102-
loadparams!(suite, BenchmarkTools.load(paramspath, "suite"), :evals);
102+
loadparams!(suite, BenchmarkTools.load(paramspath)[1], :evals);
103103
else
104104
info("Tuning suite (this may take a while)")
105105
tune!(suite)
106-
BenchmarkTools.save(paramspath, "suite", params(suite));
106+
BenchmarkTools.save(paramspath, params(suite));
107107
end

0 commit comments

Comments
 (0)