0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/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 buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
cipher-stream.js benchmark: fix some RegExp nits 2017-06-12 12:10:22 +03:00
get-ciphers.js benchmark: fix punycode and get-ciphers benchmark 2017-03-09 22:01:45 +01:00
hash-stream-creation.js benchmark: fix some RegExp nits 2017-06-12 12:10:22 +03:00
hash-stream-throughput.js benchmark: fix some RegExp nits 2017-06-12 12:10:22 +03:00
rsa-encrypt-decrypt-throughput.js benchmark: reduce string concatenations 2017-04-20 04:46:37 +03:00
rsa-sign-verify-throughput.js benchmark: reduce string concatenations 2017-04-20 04:46:37 +03:00