simplebench

benchmark module: implmentation of the benchmarking utilities.

Members

Aliases

MonoTime
alias MonoTime = MonoTimeImpl!(ClockType.precise)
Undocumented in source.

Functions

BenchMain
BenchmarksResults BenchMain()

Benchmark multiple functions

benchmark
BenchSamples benchmark(void function(ref Bencher) f)

Benchmark one function

black_box
T black_box(T dummy)

This function can be used to avoid unused results from being optimized (removed) by the compiler.

nsecsToStr
string nsecsToStr(ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

BenchSamples
struct BenchSamples
Undocumented in source.
Bencher
struct Bencher
Undocumented in source.
BenchmarksResults
struct BenchmarksResults
Undocumented in source.

Meta

Authors

Nouredine Hussain

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).