summaryrefslogtreecommitdiff
path: root/test/benchmark
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2020-01-26 07:28:57 -0500
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-17 11:37:19 -0800
commit3c6545f0b40238a2ba17ab599878219317cc0b05 (patch)
tree8adb9434d1d906a5965a72c1dc4cd20db3b0d3d5 /test/benchmark
parent3dd4089b9ae23607dfa92ca2369c4248345f3275 (diff)
downloadnode-new-3c6545f0b40238a2ba17ab599878219317cc0b05.tar.gz
crypto: improve randomBytes() performance
PR-URL: https://github.com/nodejs/node/pull/31519 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/benchmark')
-rw-r--r--test/benchmark/test-benchmark-crypto.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/benchmark/test-benchmark-crypto.js b/test/benchmark/test-benchmark-crypto.js
index f24edf675f..6ba71471cf 100644
--- a/test/benchmark/test-benchmark-crypto.js
+++ b/test/benchmark/test-benchmark-crypto.js
@@ -19,6 +19,7 @@ runBenchmark('crypto',
'len=1',
'n=1',
'out=buffer',
+ 'size=1',
'type=buf',
'v=crypto',
'writes=1',