Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array loop vs foreach simplified

No description provided

Array.prototype.concat vs spread operator (add)

Compare the new ES6 spread operator with the traditional concat() method

Array push vs Array fill

No description provided

createElement vs innerHTML (3000)

createElement vs innerHTML (3000)

createElement vs innerHTML

createElement vs innerHTML

big reduce spread operator vs flat

Compare the new ES6 spread operator with the traditional concat() method

reduce spread operator vs flat

Compare the new ES6 spread operator with the traditional concat() method

some vs find low number of data

No description provided

Lodash flatten vs nativate flat (depth 1)

No description provided

abcddddddd

abc

object.assign vs new class extends

Performance difference of creating a class that extends P and creating a new instance of it vs doing object.assign(new P(), ...)

Converting String to Array of Chars

There are several ways of converting a string to an array of its characters, from the good-old split to spreading. Which one's the fastest?

getElementsByClassName vs JQuery vs queryselectorALL

No description provided

lookup vs charAt

No description provided

createElement vs cloneNode with content

Faster way to create new dom elements before insertion

Js push vs spread in create new array

No description provided

while vs for vs forEach vs for of - 100000000 - calc exponent multiple

Compare the new ES6 spread operator with the traditional concat() method and push

while vs for vs forEach vs for of - 1000000 - calc exponent multiple

Compare the new ES6 spread operator with the traditional concat() method and push

while vs for vs forEach vs for of - 1000000 - calc exponent

Compare the new ES6 spread operator with the traditional concat() method and push

while vs for vs forEach vs for of - 1000000 - calc

Compare the new ES6 spread operator with the traditional concat() method and push

while vs for vs forEach vs for of - 1000000

Compare the new ES6 spread operator with the traditional concat() method and push

while vs for vs forEach vs for of

Compare the new ES6 spread operator with the traditional concat() method and push

template literal vs toString 4

No description provided

template literal vs toString

No description provided

lodash remove vs native splice vs shift& pop

No description provided