Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

PutImageData vs DrawImage v2

GetImageData with PutImageData vs just DrawImage

isNaN vs Number.isNaN vs Self comparison

No description provided

Clean up strategy test 2

No description provided

Clean up strategy test

No description provided

Clean up strategy

No description provided

Splti vs Trim vs replace className

No description provided

document.evaluate(xpath) vs querySelectorAll

No description provided

forEach vs for of (with Iterator) 2

No description provided

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