benchmark: reduce the buffer size for blob
PR-URL: https://github.com/nodejs/node/pull/52548 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
parent
e4c795e3fa
commit
8fa7d90c78
@ -3,7 +3,7 @@ const common = require('../common.js');
|
|||||||
const { Blob } = require('buffer');
|
const { Blob } = require('buffer');
|
||||||
|
|
||||||
const bench = common.createBenchmark(main, {
|
const bench = common.createBenchmark(main, {
|
||||||
bytes: [128, 1024, 1024 ** 2],
|
bytes: [128, 1024, 8192],
|
||||||
n: [1e3],
|
n: [1e3],
|
||||||
operation: ['text', 'arrayBuffer'],
|
operation: ['text', 'arrayBuffer'],
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user