BenchmarkTools.jl
BenchmarkTools.jl copied to clipboard
A benchmarking framework for the Julia language
Running a benchmark produces an instance of the Trial Type. When running on the REPL it is nice that you can see a pretty-printed version of the results, however it...
- matches to the `@allocations` macro recently added to Julia Base (https://github.com/JuliaLang/julia/pull/47367)
`@benchmarkset` is nowhere in the documentation and can only be found in the the [API Reference](https://juliaci.github.io/BenchmarkTools.jl/stable/reference/#BenchmarkTools.@benchmarkset-Tuple{Any,%20Any}). Is there a reason why ? Like is it obselete or maybe "too new"...
I'm trying to benchmark sorting runtime as a function of input size. I have this function ```julia using BenchmarkTools function f(n) x = rand(Int, n) target = sort(x) y =...
It should instead create only one new symbol per interpolated symbol and reuse it for multiple interpolations of the same symbol. The current situation can lead to errors in subsequent...
Partial implementation of #220, interpreting any benchmark group with numeric keys as a series with a size parameter for plotting purposes. (I frankly don't remember what I was doing that...
The following simple tests behave differently in a second execution. ``` using BenchmarkTools using LinearAlgebra a = rand(300,300); u = triu(rand(300,300)); @btime u*a; # multiplication without exploiting upper triangular shape...
`BenchmarkTools.jl` has some special syntax for string interpolation, plus the `setup` block, etc. Often I'm `@btime`'ing something and then I just decide to run it once and simply remove the...
It's not ideal to move gctrial this early as it will miss a bit of garbage, e.g. the stuff allocated at the beginning of `_run` but this shouldn't be a...