node/benchmark/crypto
Vse Mozhet Byt 8beff64851 benchmark: fix some RegExp nits
* Take RegExp creation out of cycle.
* use test(), not match() in boolean context.

PR-URL: https://github.com/nodejs/node/pull/13551
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2017-06-12 12:10:22 +03:00
..
aes-gcm-throughput.js
cipher-stream.js
get-ciphers.js
hash-stream-creation.js
hash-stream-throughput.js
rsa-encrypt-decrypt-throughput.js
rsa-sign-verify-throughput.js