Skip to content

Commit cc466dd

Browse files
author
Lei Shi
committed
benchmark: update iteration and size in benchmark/crypto/randomBytes.js
Fixes: #50571
1 parent ea88a3e commit cc466dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/crypto/randomBytes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const common = require('../common.js');
44
const { randomBytes } = require('crypto');
55

66
const bench = common.createBenchmark(main, {
7-
size: [64, 1024, 8192, 512 * 1024],
8-
n: [1e3],
7+
size: [64, 1024, 8 * 1024, 16 * 1024],
8+
n: [1e5],
99
});
1010

1111
function main({ n, size }) {

0 commit comments

Comments
 (0)