Skip to content

Commit

Permalink
benchmark: update iteration and size in benchmark/crypto/randomBytes.js
Browse files Browse the repository at this point in the history
Fixes: #50571
  • Loading branch information
Lei Shi committed Nov 27, 2023
1 parent ea88a3e commit cc466dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/crypto/randomBytes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const common = require('../common.js');
const { randomBytes } = require('crypto');

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

function main({ n, size }) {
Expand Down

0 comments on commit cc466dd

Please sign in to comment.