aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-07-17 01:12:52 -0400
committerPaul Duncan <pabs@pablotron.org>2019-07-17 01:12:52 -0400
commit84d33c240c163ef161673ffbdc51c4ef2e43db7b (patch)
tree3a07751faeee7b061ccd098d885f2fdd18a45cbb
parent0550dab6180d1a9d1a13e20eea1d6f6ddb1d0371 (diff)
downloadsha2-84d33c240c163ef161673ffbdc51c4ef2e43db7b.tar.bz2
sha2-84d33c240c163ef161673ffbdc51c4ef2e43db7b.zip
add benchmarks to readme
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 68613f8..ce217ec 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,18 @@
My C11 SHA256 implementation.
See `tests.c` for usage.
+
+Benchmarks
+==========
+ > time -p ./sha256 ~/Videos/8x*avi > /dev/null
+ rleal 9.39
+ user 9.10
+ sys 0.29
+ > time -p sha256sum ~/Videos/8x*avi > /dev/null
+ real 12.04
+ user 11.73
+ sys 0.31
+ > time -p openssl sha256 ~/Videos/8x*avi > /dev/null
+ real 6.36
+ user 6.01
+ sys 0.32