Benchmark name When Created
[...array].sort vs array.toSorted 5 months ago
JS Date libraries 3 5 months ago
getElementById vs QuerySelector nested element2 5 months ago
Array foreach vs for..in 5 months ago
Search strategy generation loss 5 months ago
Array Pop vs setting array length -1

Comparing array pop vs setting array length

5 months ago
javascript loops2 5 months ago
splice or filter 5 months ago
Mutate array vs memory efficient map

In memory constrained devices the use of .map() is not always possible. In such places, this should determine whether a mutation is better than creating a new array from scratch while emptying the original array, thus, keeping somewhat the same memory usage.

5 months ago
Include vs Binary search in sorted array vs Map.has() vs Object[] 5 months ago
underscore _.uniq vs [...new Set()] 5 months ago
lodash test sort by 1 vs 2 5 months ago
Lodash difference vs Set 5 months ago
For meseuerement 5 months ago
for vs foreach vs for..in vs for..of

Compare loop performance

5 months ago
filter-map vs reduce fixed vs for of 5 months ago
filter-map vs reduce fixed vs for

modified version of `map-filter vs reduce` that switches the order of operations Original was not fair comparison as it mapped all iterations not just the ones that passed the filter * added for loop

5 months ago
mybenchmark123313131 sadas4 5 months ago
mybenchmark123313131 sadas3 5 months ago
mybenchmark123313131 sadas2 5 months ago
mybenchmark123313131 sadas1 5 months ago
mybenchmark123313131 sadas 5 months ago
mybenchmark123313131 sadas deffered 5 months ago
math floor1123121 5 months ago
math floor112312 5 months ago

 Create Your benchmarks