diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-04-02 21:33:24 +0900 |
---|---|---|
committer | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-04-04 12:37:26 +0900 |
commit | 1c709f3aa98954b6462bd7feee1f87c1bc94ba67 (patch) | |
tree | 9fc35c121b3352c4bf0eee992624a566f1125528 /benchmark/crypto/hash-stream-throughput.js | |
parent | f782824d4829d89b078aafcdcc3a1fa043b58f39 (diff) | |
download | android-node-v8-1c709f3aa98954b6462bd7feee1f87c1bc94ba67.tar.gz android-node-v8-1c709f3aa98954b6462bd7feee1f87c1bc94ba67.tar.bz2 android-node-v8-1c709f3aa98954b6462bd7feee1f87c1bc94ba67.zip |
benchmark: add/remove hash algorithm
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>
Diffstat (limited to 'benchmark/crypto/hash-stream-throughput.js')
-rw-r--r-- | benchmark/crypto/hash-stream-throughput.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/crypto/hash-stream-throughput.js b/benchmark/crypto/hash-stream-throughput.js index 62a8d45e17..2e987f03f5 100644 --- 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'] |