mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02: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:
parent
e158b11404
commit
29af78e8fb
1 changed files with 1 additions and 1 deletions
|
@ -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],
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue