Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Yepo_deepEqual vs. lodash.isEqual v1.1

Aim to optimize object deepEqual algorithm in JS

custom_deepEqual vs. lodash.isEqual

No description provided

jQuery .first() vs :first vs .filter(:first) vs .eq(0) vs $(.get(0)) vs $([0]) [2]

No description provided

Deep equal

Compares deeply two objects

String.match vs. RegEx.test (MongoDB ObjectID)

No description provided

is variable undefined? typeof variable === "undefined" vs variable === undefined. WIth variable

Comparing whether checking is (typeof variable === "undefined") is faster than (variable === undefined)

for vs find vs map vs foreach just longer

No description provided

for vs for (reverse) vs forEach vs every

No description provided

domino chain alg

No description provided

Deep clone custom

No description provided

replaceAll vs naive implementation

No description provided

parseInt vs Number vs plus

No description provided

lodash shuffle vs js native

const shuffleColor = (array) => { const length = array === null ? 0 : array.length; return length ? array[Math.floor(Math.random() * length)] : undefined; };

Date.parse vs new Date from string

No description provided

Trimming leading/trailing characters from string

No description provided

pop() vs shift() vs unshift vs pop

No description provided

contains2 vs closest

No description provided

contains2 vs closest2

No description provided

find() vs for...of vs for-loop multi variable with switches

Testing the difference between native loops and find() with setting multiple variables

find() vs for...of vs for-loop multi variable

Testing the difference between native loops and find() with setting multiple variables

axios vs node-fetch

No description provided

Array.from vs Spread on arrays

No description provided

filter+map vs reduce

No description provided

JavaScript spread operator vs Object.assign vs only-null-checked for-in loop performance

Measure the fastest way to merge objects, without mutation.

JavaScript spread operator vs Object.assign vs null-checked for-in loop performance

Measure the fastest way to merge objects, without mutation.