generated from streamich/tpl-ts-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: ⚡️ improve further genVarInt performance
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
``` | ||
node benchmarks/genVarInt.js | ||
genVarInt v1 x 50.24 ops/sec ±1.75% (65 runs sampled) | ||
genVarInt v2 x 111 ops/sec ±0.48% (81 runs sampled) | ||
genVarInt v3 x 123 ops/sec ±1.16% (79 runs sampled) | ||
genVarInt v4 x 124 ops/sec ±1.39% (79 runs sampled) | ||
genVarInt v5 x 171 ops/sec ±0.41% (87 runs sampled) | ||
genVarInt v1 x 10.74 ops/sec ±2.54% (31 runs sampled) | ||
genVarInt v2 x 23.68 ops/sec ±0.55% (43 runs sampled) | ||
genVarInt v3 x 27.15 ops/sec ±0.53% (49 runs sampled) | ||
genVarInt v4 x 27.11 ops/sec ±1.28% (49 runs sampled) | ||
genVarInt v5 x 38.55 ops/sec ±0.50% (67 runs sampled) | ||
Fastest is genVarInt v5 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters