Benchmark name When Created
regex vs compiled regex vs includes

Compares the difference in performance between regex, compiled regex and includes.

3 years ago
instanceof vs typeof vs fast typeof object2 3 years ago
instanceof vs typeof vs fast typeof object 3 years ago
var example = 'there is no spoon' 3 years ago
Deep object equalA and equalB

Compares deeply two objects

3 years ago
Deep object equal

Compares deeply two objects

3 years ago
Yepo_deepEqual vs. lodash.isEqual v1.1

Aim to optimize object deepEqual algorithm in JS

3 years ago
custom_deepEqual vs. lodash.isEqual 3 years ago
jQuery .first() vs :first vs .filter(:first) vs .eq(0) vs $(.get(0)) vs $([0]) [2] 3 years ago
Deep equal

Compares deeply two objects

3 years ago
String.match vs. RegEx.test (MongoDB ObjectID) 3 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)

3 years ago
for vs find vs map vs foreach just longer 3 years ago
for vs for (reverse) vs forEach vs every 3 years ago
domino chain alg 3 years ago
Deep clone custom 3 years ago
replaceAll vs naive implementation 3 years ago
parseInt vs Number vs plus 3 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; };

3 years ago
Date.parse vs new Date from string 3 years ago
Trimming leading/trailing characters from string 3 years ago
pop() vs shift() vs unshift vs pop 3 years ago
contains2 vs closest 3 years ago
contains2 vs closest2 3 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

3 years ago

 Create Your benchmarks