BenchmarkTools.jl icon indicating copy to clipboard operation
BenchmarkTools.jl copied to clipboard

A benchmarking framework for the Julia language

Results 102 BenchmarkTools.jl issues
Sort by recently updated
recently updated
newest added

After conversation in the Julia's helpedesk slack channel I decided to open this issue, but I'm not sure it has something to do with either Julia or `BenchmarkTools.jl`. Just something...

bug

```julia add2f(x) = f(x[1]) + f(x[2]) # `f` has multiple methods f(z::Integer) = 2*z f(z::AbstractFloat) = 111*z f(z::AbstractString) = 0 f(z::AbstractArray) = length(z) ``` Here's the strange part: ```julia julia>...

See the discussion here https://discourse.julialang.org/t/use-juliamono-to-fix-misaligned-benchmarktools-histograms/65054

enhancement

Sometimes users want to copy the result for comparison where `@btime` gives too little information but the current `@benchmark` is unfriendly for that. One proposal is to change now: ```julia...

enhancement

While I was benchmarking two very similar functions I noticed the histograms looked very different, which surprised me. This was because the second run switched to a log display of...

enhancement

@timholy just implemented manual histogram bounds in https://github.com/JuliaCI/BenchmarkTools.jl/pull/255, but it occurred to me that when you display multiple benchmarks together (in an array, for example), then it would be even...

enhancement

The new Benchmark histograms have the x axis limit set by the edges of the data, but that is not the best for interpretation. Waiting times for a function to...

enhancement

Have a look at the following code: ```julia using BenchmarkTools; using Random; BenchmarkTools.DEFAULT_PARAMETERS.samples = 50; BenchmarkTools.DEFAULT_PARAMETERS.evals = 1; BenchmarkTools.DEFAULT_PARAMETERS.seconds = 15; vX = rand(5_000); startTime = time(); sBenchMark = @benchmark...

Got some results that did not really seem correct, thought I would just drop them here. Here the bar colored the same as the median text is the leftmost bar,...

If I followed the breadcrumbs here right, the displayed max GC time comes from the maximum as computed here: https://github.com/JuliaCI/BenchmarkTools.jl/blob/7eebf01f7b9e469ee41e83e38170857fb33a3da3/src/trials.jl#L116-L119 Which isn't really the maximum GC time. Since it's displayed...

bug