Skip to content

Commit

Permalink
benchmark: increase iteration number to appropriate one
Browse files Browse the repository at this point in the history
Increase the 500 iteration to 50000 to reflect the real ciphers perf.
The single iteration n=1 can not make the score reasonable.

Fixes #50571
  • Loading branch information
lucshi committed Nov 23, 2023
1 parent ea88a3e commit e812c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/crypto/get-ciphers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const common = require('../common.js');

const bench = common.createBenchmark(main, {
n: [1, 5000],
n: [1, 500000],
v: ['crypto', 'tls'],
});

Expand Down

0 comments on commit e812c91

Please sign in to comment.