Benchmark name When Created
(Math.floor(Math.random() * Math.pow(10,13))) vs Date.now

Which is best for generating a unique 13 digits key?

7 days ago
padStart vs slice

Measures speed between using padStart and slice

8 days ago
Push vs LHS spread

Is it fast to build up an array using the spread operator on the left-hand side?

8 days ago
for loop vs for of

comparing perf between for of and for loop

8 days ago
comparison 8 days ago
KevinTest 8 days ago
Array processing benchmark

Quick benchmark

8 days ago
Test array reduce

Quick benchmark

8 days ago
lodash groupBy vs Array.reduce 100k vs spread 8 days ago
querySelectorAll2 vs getElementsByClassName 8 days ago
2 6Array.prototype.concat vs spread operator 2

Compare the new ES6 spread operator with the traditional concat() method

8 days ago
JSON parse vs structuredClone

Test json

8 days ago
eval vs new Function (Sample JS Functions)2 9 days ago
split vs regex replace - test 9 days ago
split vs regex replace 9 days ago
Setting the same value with setAttribute()

Is checking the current value of an attribute with getAttribute() better than setting the same value with setAttribute() over and over.

9 days ago
for-in vs object.keys 22 9 days ago
bignumber.js vs. big.js vs. decimal.js performance instance4

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

9 days ago
bignumber.js vs. big.js vs. decimal.js performance instance3

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

9 days ago
bignumber.js vs. big.js vs. decimal.js performance instance2

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

9 days ago
bignumber.js vs. big.js vs. decimal.js performance instance

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

9 days ago
JSON stringify long array with ids 9 days ago
JSON stringify long array 9 days ago
Sortby vs flatmap 9 days ago
reduce.concat() vs flat() vs concat(...)

Compare the new ES6 spread operator with the traditional concat() method

9 days ago

 New benchmark Your benchmarks