mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
9954052d08
commit
ca5f322d32
84 files changed
+134
-116
No files matched your search
@@ -8,7 +8,7 @@ const bench = common.createBenchmark(main, {
|
||||
c: [50, 500],
|
||||
chunkedEnc: [1, 0],
|
||||
benchmarker: ['test-double-https'],
|
||||
duration: 5
|
||||
duration: 5,
|
||||
});
|
||||
|
||||
function main({ type, len, chunks, c, chunkedEnc, duration }) {
|
||||
@@ -21,7 +21,7 @@ function main({ type, len, chunks, c, chunkedEnc, duration }) {
|
||||
path,
|
||||
connections: c,
|
||||
scheme: 'https',
|
||||
duration
|
||||
duration,
|
||||
}, () => {
|
||||
server.close();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user