projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f782824
)
benchmark: add/remove hash algorithm
author
Shigeki Ohtsu
<ohtsu@iij.ad.jp>
Thu, 2 Apr 2015 12:33:24 +0000
(21:33 +0900)
committer
Shigeki Ohtsu
<ohtsu@iij.ad.jp>
Sat, 4 Apr 2015 03:37:26 +0000
(12:37 +0900)
add sha1, sha512 algorithm and remove md5
PR-URL: https://github.com/iojs/io.js/pull/1325
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
benchmark/crypto/hash-stream-throughput.js
patch
|
blob
|
history
diff --git
a/benchmark/crypto/hash-stream-throughput.js
b/benchmark/crypto/hash-stream-throughput.js
index
62a8d45
..
2e987f0
100644
(file)
--- a/
benchmark/crypto/hash-stream-throughput.js
+++ b/
benchmark/crypto/hash-stream-throughput.js
@@
-5,7
+5,7
@@
var crypto = require('crypto');
var bench = common.createBenchmark(main, {
writes: [500],
- algo: [
'sha256', 'md5'
],
+ algo: [
'sha1', 'sha256', 'sha512'
],
type: ['asc', 'utf', 'buf'],
len: [2, 1024, 102400, 1024 * 1024],
api: ['legacy', 'stream']