From a125fe4fc0ea6cd3d16e33f72f16feecf1ce5509 Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 25 Nov 2024 23:58:12 -0600 Subject: [PATCH] chore: benchmark --- benchmark.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmark.js b/benchmark.js index a3aad7b..e055fa7 100644 --- a/benchmark.js +++ b/benchmark.js @@ -37,17 +37,17 @@ else { opaque: 'buffer', }; - const opaque = Buffer.alloc(512); + const opaque = Buffer.alloc(1024); const value = { name: 'John Smith', age: 32, weight: 188.5, - likes: Array(512).fill(0), - varints: Array(512).fill(0), + likes: Array(1024).fill(0), + varints: Array(1024).fill(0), }; - const N = 10000; + const N = 50000; console.group('encoding x', N);