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
It seems, that BenchmarkTools.Trial uses only single value for storing number of allocations and memory usage during trial runs. And judging from the results it track only minimum allocations and memory. Somewhat exaggerated example:
using BenchmarkTools
functionf()
n =rand() <0.5?1:100000returnrand(n)
end
It seems, that
BenchmarkTools.Trial
uses only single value for storing number of allocations and memory usage during trial runs. And judging from the results it track only minimum allocations and memory. Somewhat exaggerated example:and result
which doesn't feel right.
The text was updated successfully, but these errors were encountered: