]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
*** empty log message ***
authorNiels Möller <nisse@lysator.liu.se>
Thu, 5 Feb 2004 19:20:08 +0000 (20:20 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 5 Feb 2004 19:20:08 +0000 (20:20 +0100)
Rev: src/nettle/ChangeLog:1.234

ChangeLog

index 30f84e2fedcac3ba8cd12022cc81713769ff794b..4ad068d075df183ed3d26f7e30ad2b22a35b7e62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2004-02-05  Niels Möller  <nisse@lysator.liu.se>
 
+       * examples/nettle-benchmark.c (bench_hash, time_hash): New functions.
+       (main): Benchmark hash functions too.
+       (BENCH_BLOCK): Increased 10K.
+       (BENCH_INTERVAL): Decreased to 0.25s.
+
+       * examples/nettle-benchmark.c (time_function): Loop around calling
+       f, until 1s has elapsed. Returns seconds per call. Updated bench
+       functions to not loop themselves.
+       (display): Updated MB/s calculation.
+
        * testsuite/arcfour-test.c (test_main): Use test_cipher_stream.
 
        * testsuite/testutils.c (test_cipher_stream): New function, that