summaryrefslogtreecommitdiff
path: root/benchmark/buffers/buffer-base64-decode-wrapped.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/buffers/buffer-base64-decode-wrapped.js')
-rw-r--r--benchmark/buffers/buffer-base64-decode-wrapped.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/buffers/buffer-base64-decode-wrapped.js b/benchmark/buffers/buffer-base64-decode-wrapped.js
index 1e6f1fde0a..7aee5a89c4 100644
--- a/benchmark/buffers/buffer-base64-decode-wrapped.js
+++ b/benchmark/buffers/buffer-base64-decode-wrapped.js
@@ -3,12 +3,12 @@
const common = require('../common.js');
const bench = common.createBenchmark(main, {
+ charsPerLine: [76],
+ linesCount: [8 << 16],
n: [32],
});
-function main({ n }) {
- const charsPerLine = 76;
- const linesCount = 8 << 16;
+function main({ charsPerLine, linesCount, n }) {
const bytesCount = charsPerLine * linesCount / 4 * 3;
const line = `${'abcd'.repeat(charsPerLine / 4)}\n`;