Closed filchristou closed 7 months ago
BenchmarkTools is intentionally narrow in the problem it tries to solve. I think what you want is out of scope for BenchmarkTools
Thanks for the fast answer. I guess then an external package would be the way to go. :)
Please see first posts in https://discourse.julialang.org/t/how-to-asychronously-build-a-benchmark-group/106335
Some benchmarks have certain interdependencies and it would be nice to yield benchmark results while going through some mutating operations.
E.g. instead of doing
do something like
where a single
sample
will evaluatemuttfunc1!
,muttfunc2!
,muttfunc3!
once and will yield the result to the respectingBenchmarkGroup
. Soevals=1
needs to be hardcoded.An also appealing interface would be to build such benchmarking functions e.g.
The idea is similar to https://github.com/KristofferC/TimerOutputs.jl, but with a focus on BenchmarkingTools.jl
First please let me know if you would like this feature here If yes, which interface do you prefer ? If that's clear, I (or someone else) might commit to get this going.