Benchmark name When Created
test stringify 4 months ago
Converting array to object using Array.reduce(), Object.fromEntries(), Object.assign(), for loop, ...spread 4 months ago
switch function vs switch inline vs object vs Map 4 months ago
array includes vs key in object

performance comparison of ways to find if an array contains a value

4 months ago
Mapping a pair of numbers (2 numbers) to another number [Algorithm 1]

Comparing the performance of different implementations of 2-Tuple cache (mapping a pair of numbers to another number) when being used to achieve memoization a recursive algorithm.

4 months ago
Compare comparison with/without null or undefined 4 months ago
json vs arraybuffer 5 months ago
Converting a small Set to an Array

Return a new Array containing all elements in a Set in insertion order.

5 months ago
native vs native big vs bignumber.js vs. big.js vs break_infinity.js

Comparing performance of: Native vs Native + toFixed vs big.js vs bignumber.js vs break_infinity.js

5 months ago
Looping Frozen object: Object Freeze vs Deep Freeze vs Without Object Freeze vs 5 months ago
Looping Frozen object: Object Freeze vs Without Object Freeze 5 months ago
func vs array 5 months ago
Please ignore this benchmark

This is a just a template for my other benchmarks.

5 months ago
Direct call vs bind vs lambda 5 months ago
directcall vs bind vs lambda 5 months ago
bind vs lambda 5 months ago
Array initialization: preallocate a typed array vs vanilla preallocation 5 months ago
Array initialization: preallocate a typed array vs vanilla and push 5 months ago
Array initialization: preallocate vs push with objects 5 months ago
Replace all spaces with pluses

What's the fastest way to replace all spaces with pluses?

5 months ago
Lodash Streams vs Vanilla Javascript v2 5 months ago
Lodash Streams vs Vanilla Javascript 5 months ago
closest comparision 2 5 months ago
closest comparision 5 months ago
Number.toLocaleString vs Intl.NumberFormat - random numbers 5 months ago

 Create Your benchmarks