Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

TextDecoder 'ascii' vs String.fromCharCode

No description provided

TextDecoder vs String.fromCharCode

No description provided

Direct call vs bind vs call vs apply (with specified object)

No description provided

Inline SVG w/ rect vs div w/ span

No description provided

Inline SVG (rect) vs div

No description provided

inline svg vs div

No description provided

lodash groupBy vs Array.reduce on million items

No description provided

let test

test

test of equals

test

Regex vs .indexOf with more complex expressions

Find where "via" or "mot" is in a string, and return all words from the start of the string to that point. Otherwise, return the entire string.

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