Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Math.ceil() vs. 0 bitshift

No description provided

for-in vs object keys map vs object keys loop

No description provided

Lodash sortBy descending vs Lodash orderBy descending

Lodash sortBy descending vs Lodash orderBy descending

Map.get() vs Array.find()

No description provided

Deep clone comparison

No description provided

Array.from vs map vs Array.from then map

No description provided

array from

No description provided

Backticks vs Quotes

Test performance of Backticks vs Quotes

Lodash cloneDeep vs structuredClone vs naive JSON.stringify

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

lodash chain vs ramdajs pipe

check this out

Replace text content on DOM element 2

No description provided

Moment Dayjs Date-fns format benchmark 2

No description provided

Plain object check: Object.prototype.toString vs Object.getPrototypeOf

No description provided

replace vs. slice

Cut first char from string.

Object.hasOwn vs 'in' performance v2

comparing Object.hasOwn(obj, "foo") with "foo" in obj

string.replace vs regexp.matchAll vs regexp.exec

No description provided

Lodash has vs hasOwnProperty.bind

No description provided

nothing vs optional chaining

How to better null-check

just promise vs just callback

No description provided

Filter and Map vs Reduce

No description provided

JavaScript spread operator vs Object.assign performance with 1000 props

No description provided

or operator vs array.find

No description provided

convert string number

No description provided

undefined vs. typeof vs. in vs. hasOwnProperty vs Object.hasOwn

Object lookup performance

Intl.NumberFormat vs toLocalString vs Custom Format vs Pre-created Intl formatter

No description provided

NEW BENCHMARK Your Benchmarks