Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

querySelectorAll vs getElementsByTagName 2

No description provided

.sort() vs Math.min - 4 elements

.sort() vs Math.min

Array.sort() vs Math.min / Math.max 4 elements v2

Array.sort() vs Math.min / Math.max - array with 4 elements

Array.sort() vs Math.min 4 elements

Array.sort() vs Math.min 4 elements

Array.sort() vs Math.min / Math.max 4 elements

Array.sort() vs Math.min / Math.max - array with 4 elements

Array.prototype.slice vs spread operator vs copy

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

for-in vs object.keys (no console) (forked)

same as the other one but with assigning to other object instead of console.logging

for-in vs object.keys (no console)

same as the other one but with assigning to other object instead of console.logging

Object assign vs direct assignment by iterating keys and assigning

Should you be saving your fields to an object with Object.keys(toSave).forEach(k => ... or by Object.assign(destination, toSave);

null vs. hasOwnProperty

Object lookup performance

JSON.stringify-

No description provided

Array.prototype.slice vs spread operator copy performance

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

lodash.forOwn vs for..in

No description provided

Object.assign size for direction

No description provided

forEach vs reduce vs map vs filter vs for vs while 10 runs

No description provided

forEach vs reduce vs map vs filter vs for vs while

No description provided

For vs Min1

No description provided

For vs Min

No description provided

Unique Array: Lodash or spread new Set

No description provided

slice vs splice vs shift vs delete

which is faster

Join vs JSON.Stringify

No description provided

Array.find vs. Set.has

Compares a performance of Array.find on a small number of items

Lodash difference vs Set & Filter2

No description provided

Native Event listener vs custom EventTarget vs fake listeners array

No description provided

Remove an item from array; indexOf + splice vs filter

No description provided