Truly automatic benchmarking
Nordlöw
per.nordlow at gmail.com
Tue Mar 27 08:18:43 UTC 2018
Have anybody implemented anything near the expressiveness and
ease of use of Rust's builtin benchmarking features
https://doc.rust-lang.org/1.16.0/book/benchmark-tests.html
I'm mostly interested in completely automatic printing of results
such as
test tests::bench_add_two ... bench: 1 ns/iter (+/- 0)
and letting the benchmarking library (like in Rust) itself figure
out the suitable number of iterations a function should be tested
based on some heuristics on how long one iteration takes and some
default upper wall clock time limit.
More information about the Digitalmars-d-learn
mailing list