From 1e4229d52326889ecc5b97b798bb1b10b6f360fb Mon Sep 17 00:00:00 2001 From: Lei Shi Date: Mon, 27 Nov 2023 13:20:00 +0800 Subject: [PATCH] benchmark: update interations and len in benchmark/util/text-decoder.js Fixes: https://github.com/nodejs/node/issues/50571 --- benchmark/util/text-decoder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/util/text-decoder.js b/benchmark/util/text-decoder.js index f85dd4db008ed8..dd4f02016df077 100644 --- a/benchmark/util/text-decoder.js +++ b/benchmark/util/text-decoder.js @@ -6,8 +6,8 @@ const bench = common.createBenchmark(main, { encoding: ['utf-8', 'latin1', 'iso-8859-3'], ignoreBOM: [0, 1], fatal: [0, 1], - len: [256, 1024 * 16, 1024 * 512], - n: [1e2], + len: [256, 1024 * 16, 1024 * 128], + n: [1e3], type: ['SharedArrayBuffer', 'ArrayBuffer', 'Buffer'], });