benchmark: add/remove hash algorithm
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Thu, 2 Apr 2015 12:33:24 +0000 (21:33 +0900)
committerShigeki 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

index 62a8d45..2e987f0 100644 (file)
@@ -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']