From 25efc542f2c5064cf312cdca043790a7af861c4c Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 6 Jul 2016 10:29:24 +0200 Subject: [PATCH] Styling of comparison benchmark (#14) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b59719a..b4f6ac5 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,14 @@ BenchmarkHash128K-12 233.37 918.93 3.94x ### AVX2: Comparison to other hashing techniques +``` $ go test -bench=Comparison BenchmarkComparisonMD5-12 1000 1726121 ns/op 607.48 MB/s BenchmarkComparisonSHA1-12 500 2005164 ns/op 522.94 MB/s BenchmarkComparisonSHA256-12 300 5531036 ns/op 189.58 MB/s BenchmarkComparisonSHA512-12 500 3423030 ns/op 306.33 MB/s BenchmarkComparisonBlake2B-12 1000 1232690 ns/op 850.64 MB/s +``` Benchmarks below were generated on a MacBook Pro with a 2.7 GHz Intel Core i7. @@ -139,4 +141,4 @@ Released under the Apache License v2.0. You can find the complete text in the fi Contributing ------------ -Contributions are welcome, please send PRs for any enhancements. \ No newline at end of file +Contributions are welcome, please send PRs for any enhancements.