Skip to content

Commit

Permalink
benchmark: increase get-ciphers iteration number to appropriate one
Browse files Browse the repository at this point in the history
Increase the iteration number from 5000 to 500000 to make time
consumption of crypto operation dominate the benchmark running.

Fixes: nodejs#50571
  • Loading branch information
Lei Shi committed Nov 23, 2023
1 parent 4207129 commit d99642a
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 d99642a

Please sign in to comment.