Skip to content

Commit 5a1b29c

Browse files
committed
use json instead of jld2 param storage
1 parent 8193865 commit 5a1b29c

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)