tests/bench: Add bufferiszero-bench

Benchmark each acceleration function vs an aligned buffer of zeros.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-02-16 13:59:36 -10:00
parent 22437b4de9
commit a06d9eddb0
2 changed files with 48 additions and 0 deletions

View file

@ -21,6 +21,7 @@ benchs = {}
if have_block
benchs += {
'bufferiszero-bench': [],
'benchmark-crypto-hash': [crypto],
'benchmark-crypto-hmac': [crypto],
'benchmark-crypto-cipher': [crypto],