Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

_.range(N) vs [...Array(N).keys()]

No description provided

_.isEqual vs JSON.stringify() comparison

No description provided

.at vs [x] (with last)

No description provided

uniq vs uniqBy vs Set

No description provided

Object Deep Copy 2

Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.

document.fonts

No description provided

forEach vs for len vs for in vs for of vs babel for of loops 2

created based off of an archived jsperf benchmark: http://web.archive.org/web/20191008221700/https://jsperf.com/foreach-vs-for-loop-vs-for-in-vs-for-of-vs-babel-for-of

String vs direct property access

No description provided

Lodash Sort vs JS Array Sort

No description provided

splice vs slice split into two

No description provided

splice vs slice split array into two

No description provided

splice vs slice split array

No description provided

Date.parse vs new Date().getTime()

No description provided

Lodash isUndefined vs isNil

No description provided

Xor Bench

No description provided

Basic Array processing benchmark

Quick benchmark

Corrected! getAttribute & setAttribute VS dataset

No description provided

Vanilla JS VS JQuery DOM perfomancee

Vanilla JS VS JQuery DOM perfomance

Array.prototype.concat vs spread operator - large arrays

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

number to string performance

No description provided

regex replaceAll vs regex replace with longer strings

No description provided

regex replaceAll vs regex replace

No description provided

lookup table vs if statement

No description provided

array indexOf vs includes vs some long list

performance comparison of ways to find if an array contains a value for an array of 44700 items

filter vs. groupBy (fixed again)

No description provided