I am currently trying to compare a performance of two codes. For this purpose, I decided to choose BenchmarkTools. However, I cannot fully understand how to obtain necessary information in Juno. Consider the example from the manual:
using BenchmarkTools @benchmark sin(1)
If I do this in terminal, I get what expect:
BenchmarkTools.Trial: memory estimate: 0.00 bytes allocs estimate: 0 -------------- minimum time: 14.605 ns (0.00% GC) median time: 15.790 ns (0.00% GC) mean time: 16.843 ns (0.00% GC) maximum time: 78.158 ns (0.00% GC) -------------- samples: 10000 evals/sample: 1000 time tolerance: 5.00% memory tolerance: 1.00%
However, if I do the same thing in Juno, the result is a bit different:
BenchmarkTools.Trial params → BenchmarkTools.Parameters times → Float64 gctimes → Float64 memory → 0 allocs → 0
I believe that, for instance, the array times should correspond to the times in all samples. But where can I find the mean time, minimum time, etc? I tried to open every directory in this BenchmarkTools.Trial, but no. Neither had I found information about this in package’s documentation. What should I do?
Thank you in advance.