Benchmark name When Created
String.match vs. RegEx.test (MongoDB ObjectID) 2 years ago
is variable undefined? typeof variable === "undefined" vs variable === undefined. WIth variable

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

2 years ago
for vs find vs map vs foreach just longer 2 years ago
for vs for (reverse) vs forEach vs every 2 years ago
domino chain alg 2 years ago
Deep clone custom 2 years ago
replaceAll vs naive implementation 2 years ago
parseInt vs Number vs plus 2 years ago
lodash shuffle vs js native

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

2 years ago
lodash shuffle vs custom array 2 years ago
Date.parse vs new Date from string 2 years ago
Trimming leading/trailing characters from string 2 years ago
pop() vs shift() vs unshift vs pop 2 years ago
contains2 vs closest 2 years ago
contains2 vs closest2 2 years ago
find() vs for...of vs for-loop multi variable with switches

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

2 years ago
find() vs for...of vs for-loop multi variable

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

2 years ago
axios vs node-fetch 2 years ago
Array.from vs Spread on arrays 2 years ago
filter+map vs reduce 2 years ago
JavaScript spread operator vs Object.assign vs only-null-checked for-in loop performance

Measure the fastest way to merge objects, without mutation.

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

Measure the fastest way to merge objects, without mutation.

2 years ago
JavaScript spread operator vs Object.assign vs type-checked for-in loop performance

Measure the fastest way to merge objects, without mutation.

2 years ago
JavaScript spread operator vs Object.assign vs for-in loop safe performance

Measure the fastest way to merge objects, without mutation.

2 years ago
JavaScript spread operator vs Object.assign vs for-in loop performance

Measure the fastest way to merge objects, without mutation.

2 years ago

 New benchmark Your benchmarks