1
0
mirror of https://github.com/fumiama/blake2b-simd.git synced 2026-06-11 13:40:27 +08:00

Styling of comparison benchmark (#14)

This commit is contained in:
Frank
2016-07-06 10:29:24 +02:00
committed by Harshavardhana
parent b899a74a3a
commit 25efc542f2

View File

@@ -80,12 +80,14 @@ BenchmarkHash128K-12 233.37 918.93 3.94x
### AVX2: Comparison to other hashing techniques ### AVX2: Comparison to other hashing techniques
```
$ go test -bench=Comparison $ go test -bench=Comparison
BenchmarkComparisonMD5-12 1000 1726121 ns/op 607.48 MB/s BenchmarkComparisonMD5-12 1000 1726121 ns/op 607.48 MB/s
BenchmarkComparisonSHA1-12 500 2005164 ns/op 522.94 MB/s BenchmarkComparisonSHA1-12 500 2005164 ns/op 522.94 MB/s
BenchmarkComparisonSHA256-12 300 5531036 ns/op 189.58 MB/s BenchmarkComparisonSHA256-12 300 5531036 ns/op 189.58 MB/s
BenchmarkComparisonSHA512-12 500 3423030 ns/op 306.33 MB/s BenchmarkComparisonSHA512-12 500 3423030 ns/op 306.33 MB/s
BenchmarkComparisonBlake2B-12 1000 1232690 ns/op 850.64 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. 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 Contributing
------------ ------------
Contributions are welcome, please send PRs for any enhancements. Contributions are welcome, please send PRs for any enhancements.