botan.utils.benchmark

Runtime benchmarking

Members

Functions

algorithmBenchmark
HashMapRef!(string, double) algorithmBenchmark(string name, AlgorithmFactory af, RandomNumberGenerator rng, Duration milliseconds, size_t buf_size)

Algorithm benchmark

timeAlgorithmOps
HashMapRef!(string, double) timeAlgorithmOps(string name, AlgorithmFactory af, string provider, RandomNumberGenerator rng, Duration runtime, size_t buf_size)

Time aspects of an algorithm/provider

timeOp
double timeOp(Duration runtime, void delegate() op)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)