mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
benchmark: improved config for blob,file benchmark
PR-URL: https://github.com/nodejs/node/pull/49730 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This commit is contained in:
parent
589ac5004c
commit
1a839f388e
@ -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'],
|
||||
});
|
||||
|
||||
|
@ -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'],
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user