timeAlgorithmOps

Time aspects of an algorithm/provider

static if(BOTAN_HAS_BENCHMARK)
HashMapRef!(string, double)
timeAlgorithmOps

Parameters

name string

the name of the algorithm to test

af AlgorithmFactory

the algorithm factory used to create objects

provider string

the provider to use

rng RandomNumberGenerator

the rng to use to generate random inputs

runtime Duration

total time for the benchmark to run

buf_size size_t

size of buffer to benchmark against, in KiB

Return Value

Type: HashMapRef!(string, double)

results a map from op type to operations per second

Meta