Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

commaize (Intl.NumberFormat vs Regex)

No description provided

for of vs filter().map()

for of vs filter map

lodash vs deepmerge vs deepmerge-ts vs @fasify/deepmerge

2025 version

array string for vs foreach vs for..in vs for..of

Compare loop performance

moment duration vs ms

No description provided

measureText stuff

No description provided

set.has vs. array.includes big data 2

No description provided

numberVar !== undefined VS typeof numberVar === number

No description provided

Number.toLocaleString vs commaizeNumber

No description provided

Spread vs Push 2025

No description provided

Lodash uniqBy vs Set, big array

No description provided

Lodash cloneDeep vs structuredClone vs simpleCloneDeep

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

Array.from vs native from vs array.of

No description provided

Array.from vs native from

No description provided

100 array

No description provided

Array timing 100

No description provided

Array timing

No description provided

innerHTML vs innerText vs textContent (full)

blah blah

Test object emptyness (for .. in vs Object.keys vs Object.values vs lodash.isEmpty vs jquery.isEmptyObject)

Tests performance of different techniques and libraries individually and with varying data to observe possible variations.

shortid

No description provided

Reduce vs Map + FromEntries vs for loop vs map

Original benchmark was unfairly forcing the for loop to be slower through variable declaration and destructuring.

Reduce vs Map vs FromEntries vs for loop

Original benchmark was unfairly forcing the for loop to be slower through variable declaration and destructuring.

cmp map vs index

No description provided

classix vs custom

No description provided

removeEventListener vs AbortController vs shared AbortController

No description provided