benchmark: add trailing commas

PR-URL: https://github.com/nodejs/node/pull/46370
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Antoine du Hamel authored and Juan José Arboleda committed 2023-03-04 23:03:31 -05:00
1 parent 92f0747e03
commit 6f91c8e2ae
83 files changed
+133 -115

No files matched your search

@@ -6,7 +6,7 @@ const bench = common.createBenchmark(main, {
encoding: [
'ascii', 'utf8', 'utf-8', 'base64', 'ucs2', 'UTF-8', 'AscII', 'UTF-16LE',
],
n: [25e6]
n: [25e6],
});
function main({ encoding, n }) {
+1 -1
View File
@@ -6,7 +6,7 @@ const bench = common.createBenchmark(main, {
encoding: ['ascii', 'utf8', 'base64-utf8', 'base64-ascii', 'utf16le'],
inLen: [32, 128, 1024, 4096],
chunkLen: [16, 64, 256, 1024],
n: [25e5]
n: [25e5],
});
const UTF8_ALPHA = 'Blåbærsyltetøy';