[PATCH] Add new benchmarking utility, bench-cycles

Werner Koch wk at gnupg.org
Mon Oct 28 12:36:28 CET 2013


On Mon, 28 Oct 2013 10:58, jussi.kivilinna at iki.fi said:

> Bench-slope is new benchmarking tool for libgcrypt for obtaining overheadless
> cycles/byte speed of cipher and hash algorithms. Tool measures the time each
> operation (hash/encrypt/decrypt/authentication) takes for different buffer
> sizes of from ~0kB to ~4kB and calculates the slope for these data points.

Cool.

You may want to exit (77) if a nsec timer does not exist.  The
regression test driver then prints "SKIP".


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list