Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Map vs Object steamid64 lookup

Lookup of map vs object with steamid64 as keys

string array duplicates

https://www.codewars.com/kata/59f08f89a5e129c543000069/solutions/javascript

Javascript Array sorting performance with sort() and reduce() take2

Javascript Array sorting performance with sort() and reduce()

Math.max.apply vs Math.max spread

Compare the new ES6 spread operator with the Math.max.apply method

lodash - reduce vs forEach with large array to object

No description provided

toFixed vs round with epsilon

No description provided

unshift vs concat vs spread vs slice of item to array

No description provided

Array join vs concatenation vs interpolation

No description provided

Toggle hidden class to existing element vs. style display

No description provided

Toggle hidden class to existing className vs. style display

No description provided

createElement vs innerHTML for creating elements in DOM

Speed of inserting DOM elements by various methods

createElement vs cloneNode vs innerHTML for multi elements with optimized loops

Faster way to create new dom elements before insertion

`filter().length` vs. `reduce` vs. `for` (with Set)

Compare `filter().length` vs `reduce` vs `for` loop for counting array elements that are present in another array.

`filter().length` vs. `reduce` vs. `for`

Compare `filter().length` vs `reduce` vs `for` loop for counting array elements that are present in another array.

Addiction increment

Addiction increment

.includes() vs .test() vs .replace() vs .indexOf()

Compare different intra-string matching styles

createElement vs cloneNode vs innerHTML for multi elements

Faster way to create new dom elements before insertion

Array.prototype.concat vs push with spread operator vs push with apply

Compare various methods of adding multiple elements to an array

TEST Cache 1000 Objects

No description provided

Comparison solution A

No description provided

regex or lowercase

No description provided

Math.log10() vs .toString()

No description provided

Array.from() vs [...new Array()]

Quick comparison between two methods of creating and filling an N-length array.

Math.random() or new Date().getTime()

123

Reduce vs find

No description provided