Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

String() vs .toString() vs template string with oids

No description provided

String() vs .toString() vs template string withs strings

No description provided

String looping test v2

No description provided

Switch vs Object Literal vs If-Else

No description provided

React Hooks vs. Inline, useMemo, memo (React 18)

Comparing performance of: Inline Function vs Hooks vs Without useMemo vs With useMemo vs Child without memo vs Child with memo (React 18)

Lodash.isEqual vs JSON.stringify Equality Comparison for deep chart.

Test on isEqual performance

JavaScript Array Performance — for vs for...of vs for...in vs forEach vs reduce

Compare the performance of five ways to traverse an array and accumulate a computed numeric result. All test cases execute the same work on the same input data. Note that for...in enumerates property keys rather than using the array iterator, so its semantics differ from for, for...of, forEach, and reduce.

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

NEW BENCHMARK Your Benchmarks