From 6dc9ea81cb7a2ae5117f0a9cb4af7ccf7aaf97d0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 29 Apr 2024 13:00:27 -0400 Subject: tests/bench/README.md: remove mean_cpb, add "cycles per byte" link, misc cleanups --- tests/bench/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/bench/README.md b/tests/bench/README.md index 1758c04..0d792e9 100644 --- a/tests/bench/README.md +++ b/tests/bench/README.md @@ -8,10 +8,9 @@ Requires [libcpucycles][]. The columns of the [CSV][] printed to standard output are as follows: * `function`: Function name. -* `dst`: Output size, in bytes. -* `src`: Input size, in bytes. -* `median_cpb`: [Median][] of observed CPU cycles divided by the input size. -* `mean_cpb`: [Arithmetic mean][mean] of observed CPU cycles divided by the input size. +* `dst`: Output length, in bytes. +* `src`: Input length, in bytes. +* `median_cpb`: [Median][] [cycles per byte][] (e.g. `median_cycles/src`). * `median_cycles`: [Median][] of observed CPU cycles. * `mean_cycles`: [Arithmetic mean][mean] of observed CPU cycles. * `stddev_cycles`: [Standard deviation][stddev] of observed CPU cycles. @@ -109,3 +108,5 @@ TODO... "64-bit extension to the ARM instruction set." [avx-512]: https://en.wikipedia.org/wiki/AVX-512 "AVX-512: 512-bit extensions to the Advanced Vector Extensions (AVX) instruction set." +[cycles per byte]: https://en.wikipedia.org/wiki/Encryption_software#Performance + "Observed CPU cycles divided by the number of input bytes." -- cgit v1.2.3