Skip to content

Commit 39b72ea

Browse files
author
Lei Shi
committed
benchmark: increase the iteration number from 500 to a more appropriate
value 2500 to make the score accurate. Fixes: nodejs#50571
1 parent 1890810 commit 39b72ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/crypto/aes-gcm-throughput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common.js');
33
const crypto = require('crypto');
44
const keylen = { 'aes-128-gcm': 16, 'aes-192-gcm': 24, 'aes-256-gcm': 32 };
55
const bench = common.createBenchmark(main, {
6-
n: [500],
6+
n: [2500],
77
cipher: ['aes-128-gcm', 'aes-192-gcm', 'aes-256-gcm'],
88
len: [1024, 4 * 1024, 16 * 1024, 64 * 1024, 256 * 1024, 1024 * 1024],
99
});

0 commit comments

Comments
 (0)