0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 13:09:21 +01:00

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:
Debadree Chatterjee 2024-04-18 01:03:44 +05:30 committed by GitHub
parent e4c795e3fa
commit 8fa7d90c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@ const common = require('../common.js');
const { Blob } = require('buffer');
const bench = common.createBenchmark(main, {
bytes: [128, 1024, 1024 ** 2],
bytes: [128, 1024, 8192],
n: [1e3],
operation: ['text', 'arrayBuffer'],
});