Benchmark name When Created
Reverse Performance one year ago
array length perf one year ago
typeof number vs. Number.isNan vs. isNan vs self comparison. Versus let one year ago
lodash uniq vs spread new Set() medium size

This checks for medium sized duplicated input to contain unique entries

one year ago
traverse vs NodeIterator vs TreeWalker vs document.querySelectorAll(*) (fix: querySelectorAll)

Let's compare the speed of 4 different ways to traverse the DOM.

one year ago
toString() vs `${templateString}` one year ago
ISO Datetime - add microseconds - replace vs slice

ISO Datetime - add microseconds - replace vs slice

one year ago
DOM vs Virtual DOM one year ago
querySelectorAll hover data attribute vs class name one year ago
if else return vs return one year ago
if else vs return one year ago
window.localStorage vs localStorage one year ago
1312312 one year ago
Number.isInteger() vs typeof

Is it faster to detect if a variable is an integer or is it faster to use typeof to verify the type?

one year ago
Pushing vs Filling one year ago
Fetch vs axios one year ago
Math.max/min vs if vs ternary operatorsd one year ago
endsWith vs index

Checks endsWith vs index

one year ago
Should you cache Intl.DateTimeFormat (simple key)?

Testing creating a new Intl.DateTimeFormat each time vs. caching it using simple string as the key.

one year ago
inbuilt structuredClone vs deepClone one year ago
inbuilt structuredClone vs spread object one year ago
Object.values VS Object.entries VS Object.keys VS Object.keys VS Object.values with forEach one year ago
Array fill vs for i loop

People tend to use array fil and then foreach, we know foreach is faster than a for loop, but is it also faster if you use array fill first?

one year ago
Spread vs Array.from on querySelectorAll

Create array from Node.childNodes

one year ago
Spread vs Array.from on NodeList

Create array from Node.childNodes

one year ago

 Create Your benchmarks