Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

es-toolkit isEqual vs hashed JSON stringify vs lodash isEqual vs fast-deep-equal

No description provided

Regex vs Multi String.includes

No description provided

Number.toLocaleString vs Intl.NumberFormat single instance 2 init every time

No description provided

Date loops

No description provided

String.matchAll() vs RegExp.exec()

No description provided

test max

No description provided

Test equal strings

No description provided

Test replace vs substring vs slice for removing + from phone number - FIXED

In Javascript

Test replace vs substring vs slice for removing + from phone number

In Javascript

multiple iteration vs single iteration diff size

No description provided

run multiple iterations vs 1 iteration

No description provided

refactor 3 iterations vs 1 iteration

No description provided

includes vs substring

No description provided

createElement vs cloneNode (deep=true) vs innerHTML

Faster way to create new dom elements before insertion

Array.from vs Spread Map Performance

Comparing performance of Array.from(iterable, mapper) vs [...iterable].map(mapper)

Roundrect perf comparison check 2

No description provided

JSON Parse vs StructuredClone 1MB object

Compares JSON.parse(JSON.stringify()) vs structuredClone on a 1MB JSON object

[compareDocumentPosition vs contains] performance 2

No description provided

json stringify vs String()

No description provided

8FAD4EC8-45FE-4D39-A75A-9CC42D9F63D4

No description provided

charAt vs codePointAt actually using unicode chars

No description provided

Array insert

No description provided

indexOf VS if

No description provided

nextSibling function vs TreeWalker

Let's compare the speed of 3 different ways to traverse the DOM.

121312312312

No description provided