mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js
Fixes: https://github.com/nodejs/node/issues/50571 PR-URL: https://github.com/nodejs/node/pull/50929 Refs: https://github.com/nodejs/node/issues/50571 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
278c990dea
commit
19b943b909
1 file changed
+1
-1
@@ -3,7 +3,7 @@ const common = require('../common.js');
|
||||
const crypto = require('crypto');
|
||||
const keylen = { 'aes-128-gcm': 16, 'aes-192-gcm': 24, 'aes-256-gcm': 32 };
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [500],
|
||||
n: [2500],
|
||||
cipher: ['aes-128-gcm', 'aes-192-gcm', 'aes-256-gcm'],
|
||||
len: [1024, 4 * 1024, 16 * 1024, 64 * 1024, 256 * 1024, 1024 * 1024],
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user