Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Randlskdjf

No description provided

Negation vs strict undefined

No description provided

lodash vs fakerFork random

No description provided

slice substring substr

No description provided

math pow vs exponent

No description provided

testAB

No description provided

Lodash orderBy vs array.prototype.sort 4.17.21

No description provided

Spread operator vs push with self assign (for Svelte)

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

dataset set test

No description provided

Closest or loop

No description provided

binary sorting

No description provided

JavaScript spread operator vs Object.assign performance with New Object Twice

No description provided

JavaScript spread operator vs Object.assign performance with New Object

No description provided

hasOwnProperty vs Object.keys to check whether an Object is empty

Comparing performance of: hasOwnProperty vs Object.keys when checking whether an Object has at least one key.

Lodash.js vs Native isArray1212

No description provided

While vs For loop vs For loop no plusplus

No description provided

set.has vs. array.includes (large)

No description provided

set.has vs. array.includes (with big array and last index match)

No description provided

set.has vs. array.includes (with big array)

No description provided

constructor comparison vs. instanceof vs Array.isArray 3

Compares the performance of comparing a constructor strictly to a function object, using the instanceof operator and calling Array.isArray

in vs. hasOwnProperty

Object lookup performance

Lodash IsEmpty Test

No description provided

Object.values() vs Object.keys().length small populated objects

Need to compare populated objects between Object.values() and Object.keys() native method.

_.isEmpty() vs Object.keys().length populated objects

Need to compare populated objects between lodash and Object.keys() native method.

Lodash cloneDeep vs Lodash clone vs Array.splice() vs. Object.assign() vs Array.slice() vs Array.slice(0)

For times when a shallow copy is needed, what is the performance difference between these 6 methods.