node/benchmark/crypto
Vse Mozhet Byt f057cc3d84
benchmark: replace [].join() with ''.repeat()
Also add a benchmark to compare both ways to create strings.

PR-URL: https://github.com/nodejs/node/pull/12170
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-04-10 13:44:34 -04:00
..
aes-gcm-throughput.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
cipher-stream.js benchmark: replace [].join() with ''.repeat() 2017-04-10 13:44:34 -04:00
get-ciphers.js benchmark: remove benchmarks forced optimizations 2017-03-21 09:50:45 -04:00
hash-stream-creation.js benchmark: replace [].join() with ''.repeat() 2017-04-10 13:44:34 -04:00
hash-stream-throughput.js benchmark: replace [].join() with ''.repeat() 2017-04-10 13:44:34 -04:00
rsa-encrypt-decrypt-throughput.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
rsa-sign-verify-throughput.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00