BenchmarkTools.jl
BenchmarkTools.jl copied to clipboard
A benchmarking framework for the Julia language
in BenchmarkTools v1.1.1 and v1.1.2 the following benchmark produces an error. ``` julia> @benchmark for i in 1:100 sin(x[i]) end setup = (x = rand(100)) evals = 1 samples =...
It would be great if there was an option (ideally even the default) that allowed me to make sure any benchmarkable code ran at least ``n`` times, even if the...
BenchmarkTools uses hardcoded colors for generating output and unfortunately color choice is not always suitable for all users for various reasons. I propose to use the following approach instead of...
I created this PR based on the discussion in Slack. I believe this would be useful for beginners.
[viraltux commented this:](https://discourse.julialang.org/t/identical-functions-benchmark-differently/65345/16) > Most of the time the reason we use BenchmarkTools is not because we want to know how fast is A but rather if A is faster...
cc @maleadt cc @KristofferC (this approach could help with the optimization-brittleness issues you've said run into) See my comment here: https://github.com/JuliaGPU/CuArrays.jl/issues/210#issuecomment-442860840 > Right now, interpolated variables get closed over in...
In the [source code](https://github.com/JuliaCI/BenchmarkTools.jl/blob/9a90d0746f7d56748da5782c91767f14f0899413/src/BenchmarkTools.jl#L12): `const BENCHMARKTOOLS_VERSION = v"1.0.0"` However, the version number of the current release is 1.1.0. So maybe the `const` needs to be updated as well? (Disclaimer: I...
Idea: Some way to specify the name of a special `size` parameter in a `Benchmark`, so (something like) ```julia b = @benchmarkable bogosort(x) setup=(x=rand(n)) size=:n res = run(b, 10) ```...
Not sure why... Maybe getting the docs up there needs a new release?
It atleast has two errors and hasn't been updated for really long time: - Random(using Random) is not imported - Another error in line 18 : ERROR: LoadError: MethodError: no...