From 1c709f3aa98954b6462bd7feee1f87c1bc94ba67 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Thu, 2 Apr 2015 21:33:24 +0900 Subject: [PATCH] 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 Reviewed-By: Ben Noordhuis --- benchmark/crypto/hash-stream-throughput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/crypto/hash-stream-throughput.js b/benchmark/crypto/hash-stream-throughput.js index 62a8d45e17d..2e987f03f5a 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']