Benchmark name When Created
Object.fromEntries vs reduce vs Map vs for of vs forEach 9 months ago
Object.fromEntries vs reduce vs Map vs custom implementation 9 months ago
arr unshift vs push + reverse (100 elements) 9 months ago
String equals vs String.includes

how much of a performance deficit you can expect from using String.includes instead of using strict comparison with the === operator

9 months ago
Remove first element from array - slice vs filter 9 months ago
forEach vs map + filter 9 months ago
Object key vs Array index access 9 months ago
Date.now() without floor vs static now() function 9 months ago
Date.now() vs static now() function 9 months ago
Object Deep Copy test 20240213-2

Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.

9 months ago
Slice vs Splice vs Shift vs pop

Compares the speed for removing 2 items from the beginning of an array

9 months ago
Slice vs Splice vs Shift 231

Compares the speed for removing 2 items from the beginning of an array

9 months ago
array indexOf vs includes vs some w/ largeish array

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

9 months ago
bool to int 9 months ago
Array loop vs for loop vs for loop cached 9 months ago
Object.groupBy vs Array.reduce 100k 9 months ago
spread vs concat for adding new value to array 9 months ago
ramda-path-vs-lodash-get-vs-custom-deepak 9 months ago
splice vs unshift by winensf

bla bla

9 months ago
ES6 Class vs Prototype vs Object Literal vs Function vs Function with object destructuring

Test the speed and memory usage using 4 different techniques for constructing class objects (or rather calling functions).

9 months ago
lastIndexOf vs split vs regex

testing speed

9 months ago
lastIndexOf vs split

testing speed

9 months ago
Spread vs concat to let var 9 months ago
querySelector vs tag 9 months ago
document querySelector 9 months ago

 Create Your benchmarks


;