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

It's unlikely I'll get around to doing this in the foreseeable future, but I'm tired of digging through issues to find this comment when I want to link it in...

enhancement

I hope this is isn't a usage question but I think it would be nice if ```julia julia> judge(memory(oldresults["solver"]), memory(results["solver"])) ERROR: MethodError: no method matching judge(::Int64, ::Int64) ``` would work

help wanted

[linuxtips.md](https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/doc/linuxtips.md#cpu-frequency-scaling-and-boosting) mentions CPU governors and suggests `performance`. However, after the introduction of `pstate` in [Sandy Bridge](https://wiki.archlinux.org/index.php/CPU_frequency_scaling), the default processor frequency scaling became very responsive. In my own benchmarks, I frequently...

documentation

BenchmarkTools is the bomb and everyone uses it – or should! The name is a little awkward though and doesn't have quite the gravitas and officialness that it deserves. What...

BenchmarkGroups currently implements an indexing scheme where [a key vector indicates nested indexing](https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/doc/manual.md#indexing-into-a-benchmarkgroup-using-a-vector). This can and should be removed in favor of using `foldl(getindex, g::BenchmarkGroup, keys)` (ref [here](https://github.com/JuliaLang/julia/issues/23031#issuecomment-320080560)).

invalid

```julia julia> using BenchmarkTools # this should work, but doesn't julia> @benchmark (a + b + c) setup=(a,b,c=1,2,3) ERROR: syntax: assignment not allowed inside tuple in generate_benchmark_definition(::Module, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Expr,...

enhancement

This would compute the ratio of all the relevant metrics: - memory estimate - allocs estimate - minimum time - median time - mean time - maximum time Would it...

enhancement

It would be fantastic if there was a way to get a profile trace of an `@benchmarkable` object, and exploit some of the nice features (i.e. run it enough times...

documentation

I'm finding different results using BenchmarkTools as opposed to my own loops and `@time`, particularly regarding allocating operations. I'm benchmarking `Base.Array` vs the types in *StaticArrays.jl*. Some of these arrays...

bug

Doing benchmark correctly sometimes involving making sure there's no additional overhead (e.g. due to accidental use of global variables) and the operation being benchmarked isn't optimized out (most likely due...

enhancement