summaryrefslogtreecommitdiff
path: root/benchmark/crypto/cipher-stream.js
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2023-02-10 01:54:53 +0100
committerGitHub <noreply@github.com>2023-02-10 00:54:53 +0000
commit214b00d215adb41cfbde5f12ca9dd00305e592bf (patch)
tree3b7b4273900a3a8e46dd47e0e2cb37de2e622e91 /benchmark/crypto/cipher-stream.js
parent3aef395ed51e7457fff01f38c08c1cac88e7c3e8 (diff)
downloadnode-new-214b00d215adb41cfbde5f12ca9dd00305e592bf.tar.gz
benchmark: add trailing commas in `benchmark/crypto`
PR-URL: https://github.com/nodejs/node/pull/46553 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'benchmark/crypto/cipher-stream.js')
-rw-r--r--benchmark/crypto/cipher-stream.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/crypto/cipher-stream.js b/benchmark/crypto/cipher-stream.js
index 47a8931a54..4e794f7afd 100644
--- a/benchmark/crypto/cipher-stream.js
+++ b/benchmark/crypto/cipher-stream.js
@@ -6,9 +6,9 @@ const bench = common.createBenchmark(main, {
cipher: ['AES192', 'AES256'],
type: ['asc', 'utf', 'buf'],
len: [2, 1024, 102400, 1024 * 1024],
- api: ['legacy', 'stream']
+ api: ['legacy', 'stream'],
}, {
- flags: ['--no-warnings']
+ flags: ['--no-warnings'],
});
function main({ api, cipher, type, len, writes }) {