Benchmark name When Created
Splti vs Trim vs replace className 2 months ago
document.evaluate(xpath) vs querySelectorAll 2 months ago
forEach vs for of (with Iterator) 2 2 months ago
test children matches vs classList vs querySelectorAll vs getElementsByClassName v.2 2 months ago
forEach vs for of (with Iterator) 2 months ago
test children matches vs classList vs querySelectorAll vs getElementsByClassName 2 months ago
Javascript classList.contains vs element.matches vs classList.some vs classList.every 2 months ago
className.includes vs. classList.contains vs matches 2 months ago
js array comparison - for vs find vs map vs foreach

Comparing performance of: for vs prototype.find vs forEach vs map

2 months ago
Test different ways of cloning objects

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

2 months ago
Same operation different sized numbers 2 months ago
Big vs small numbers 2 months ago
Diff between two dates

Figuring out the fastest way to get the minutes between two dates

2 months ago
luxon vs datefns vs moment toDate 2 months ago
Pass through arguments: Spread vs. Spread fn vs. Apply 2 months ago
Generator function vs array loop vs map 2 months ago
Array.from vs Spread x100000 2 months ago
Date constructor performance

Comparing the performance of different inputs to the Date constructor.

2 months ago
Round vs Others2 2 months ago
Round vs Others 2 months ago
Different method to traverse a reversed array. 2 months ago
className vs classList normalization 2 months ago
set.add vs array.push vc1 2 months ago
Determining if a variable is an object

Compares three ways of determining if a variable is an object. - Check if object by comparing value to an object instantiated from the value - Using typeof - Using instanceof

2 months ago
Ways to cache Intl.NumberFormat

Try to test different ways of keeping Intl.NumberFormat instances for better performance.

2 months ago

 Create Your benchmarks