Bencher

Undocumented in source.

Members

Functions

auto_bench
Summary auto_bench(void function(ref Bencher) f)

Benchmark a function by measuring its execution time N consecutive times, where N is chosen apropiatily based on one execution of the function.

bench_n
void bench_n(ulong n, void function(ref Bencher) f)
Undocumented in source. Be warned that the author may not have intended to support it.
iter
void iter(T delegate(Args) inner, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

ns_per_iter
long ns_per_iter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bytes
ulong bytes;
Undocumented in source.
iterations
ulong iterations;
Undocumented in source.
ticks
long ticks;
Undocumented in source.
total_iterations
ulong total_iterations;
Undocumented in source.
total_ns
ulong total_ns;
Undocumented in source.

Meta