You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the BenchmarkTools.save method too verbose for my liking. You can also save the benchmark results as follows:
using BenchmarkTools
using JSON
t = @benchmark fib(n) samples=10
data = Dict("mean"=> mean(t).time, "min"=> minimum(t).time,
"max"=> maximum(t).time, "med"=>median(t).time)
open("output.json", "w") do f JSON.print(f, data) end
Note: the time units are stored in nanoseconds. See: #307
Uh oh!
There was an error while loading. Please reload this page.
https://juliaci.github.io/BenchmarkTools.jl/dev/manual/#Caching-Parameters
how? The following description is about saving the parameters to a file, but how do I actually save the Benchmark Results?
The text was updated successfully, but these errors were encountered: