Skip to content

Commit

Permalink
chore: benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Nov 26, 2024
1 parent a72404b commit a125fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a125fe4

Please sign in to comment.