Skip to content

Commit 1a839f3

Browse files
H4adnodejs-github-bot
authored andcommitted
benchmark: improved config for blob,file benchmark
PR-URL: nodejs#49730 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Matthew Aitken <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
1 parent 589ac50 commit 1a839f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmark/blob/blob.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { Blob } = require('buffer');
44

55
const bench = common.createBenchmark(main, {
66
bytes: [128, 1024, 1024 ** 2],
7-
n: [1e6],
7+
n: [1e3],
88
operation: ['text', 'arrayBuffer'],
99
});
1010

benchmark/blob/file.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const common = require('../common.js');
33
const { File } = require('buffer');
44

55
const bench = common.createBenchmark(main, {
6-
bytes: [128, 1024, 1024 ** 2],
7-
n: [1e6],
6+
bytes: [128, 1024],
7+
n: [1e3],
88
operation: ['text', 'arrayBuffer'],
99
});
1010

0 commit comments

Comments
 (0)