Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

test children matches vs classList vs querySelectorAll vs getElementsByClassName v.2

No description provided

forEach vs for of (with Iterator)

No description provided

test children matches vs classList vs querySelectorAll vs getElementsByClassName

No description provided

Javascript classList.contains vs element.matches vs classList.some vs classList.every

No description provided

className.includes vs. classList.contains vs matches

No description provided

js array comparison - for vs find vs map vs foreach

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

Test different ways of cloning objects

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

Same operation different sized numbers

No description provided

Big vs small numbers

No description provided

Diff between two dates

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

luxon vs datefns vs moment toDate

No description provided

Pass through arguments: Spread vs. Spread fn vs. Apply

No description provided

Generator function vs array loop vs map

No description provided

Array.from vs Spread x100000

No description provided

Date constructor performance

Comparing the performance of different inputs to the Date constructor.

Round vs Others2

No description provided

Round vs Others

No description provided

Different method to traverse a reversed array.

No description provided

className vs classList normalization

No description provided

set.add vs array.push vc1

No description provided

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

Ways to cache Intl.NumberFormat

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

this is a testd

No description provided

this is a test

No description provided

Set has vs object key bigger list

performance comparison of ways to find if an array contains a value