Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array foreach vs for..in

No description provided

Search strategy generation loss

No description provided

Array Pop vs setting array length -1

Comparing array pop vs setting array length

javascript loops2

No description provided

splice or filter

No description provided

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.

Include vs Binary search in sorted array vs Map.has() vs Object[]

No description provided

underscore _.uniq vs [...new Set()]

No description provided

lodash test sort by 1 vs 2

No description provided

Lodash difference vs Set

No description provided

For meseuerement

No description provided

for vs foreach vs for..in vs for..of

Compare loop performance

filter-map vs reduce fixed vs for of

No description provided

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

mybenchmark123313131 sadas4

No description provided

mybenchmark123313131 sadas3

No description provided

mybenchmark123313131 sadas2

No description provided

mybenchmark123313131 sadas1

No description provided

mybenchmark123313131 sadas

No description provided

mybenchmark123313131 sadas deffered

No description provided

math floor1123121

No description provided

math floor112312

No description provided

Class vs Function + Prototype

No description provided

instanceOf vs __proto__

No description provided

slice vs substr vs substring vs add

Compares slice, substr and substring to each other when there is only a start index