Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

RegEx.test vs String.search

No description provided

Diacritics removal

No description provided

lodash forEach vs for i loop vs native forEach

No description provided

Lodash cloneDeep vs JSON Clone vs Ramda Clone vs rfdc

No description provided

String.fromCharCode & btoa vs base64ArrayBuffer function FIXED - big arrayBuffer

No description provided

String.fromCharCode & btoa vs base64ArrayBuffer function FIXED

No description provided

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

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.

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

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

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

lodash.forOwn vs for..in

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

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

JavaScript spread operator vs Slice/Splice performance, passing

No description provided

Math.max() vs Array.reduce.apply()

Compare speed of Math.max() vs Array.reduce().

NEW BENCHMARK Your Benchmarks