Skip to content

Commit

Permalink
benchmark: improved config for blob,file benchmark
Browse files Browse the repository at this point in the history
PR-URL: #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]>
  • Loading branch information
H4ad authored and targos committed Nov 11, 2023
1 parent b707574 commit 88611d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/blob/blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { Blob } = require('buffer');

const bench = common.createBenchmark(main, {
bytes: [128, 1024, 1024 ** 2],
n: [1e6],
n: [1e3],
operation: ['text', 'arrayBuffer'],
});

Expand Down
4 changes: 2 additions & 2 deletions benchmark/blob/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const common = require('../common.js');
const { File } = require('buffer');

const bench = common.createBenchmark(main, {
bytes: [128, 1024, 1024 ** 2],
n: [1e6],
bytes: [128, 1024],
n: [1e3],
operation: ['text', 'arrayBuffer'],
});

Expand Down

0 comments on commit 88611d1

Please sign in to comment.