Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

parseInt vs Number, number from ID

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

deepcopy

No description provided

replace regex vs. multiple replaceAll vs. string split

No description provided

replace regex vs. multiple replaceAll calls - fixed

No description provided

String.indexOf > -1 vs String.includes

No description provided

Parse attributes of DOM element

No description provided

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

RegEx.test vs. String.includes vs. String.match vs String.search

No description provided

eval vs json parse - complex object

No description provided

Regex Checking whitespace vs trim

testing removing beginning and end whitespace vs trim

offsetWidth vs. getBoundingClientRect().width

No description provided

Replace text content on DOM element 2

No description provided

Lodash vs Native v3,0,0

No description provided

Moment Dayjs Date-fns format benchmark 2

No description provided

Remove all children from DOM element 2

No description provided

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

No description provided

for-in vs object.keys [2]

No description provided

Check URL protocol and domain new URL, includes, endWith vs Regex

No description provided

replace vs. slice

Cut first char from string.

pop() vs splice()

No description provided

Object.hasOwn vs 'in' performance v2

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