Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.from({ length }) vs new Array()

No description provided

Proxy.ownKeys: fixed Array vs Array.from(Set) vs spread Set

No description provided

clones

No description provided

lodash clone vs structured clone

No description provided

skaosfoiasdjfmasdf

No description provided

lodashs oitrngyd

No description provided

presized array vs int32array

No description provided

bbbbbbbbbbbbbbb

No description provided

Test find vs some

No description provided

es-toolkit (isEqual) vs fast-deep-equal vs deepEqual implementation vs claude generated update to fast-deep-equal

Stress testing all functions with large workloads. Since all but es-toolkit (isEqual) fall into infinite loops when encountering cyclical objects, and these functions encounter stack overflow with very deeply nested objects, those cases have been omitted. Note: this benchmark test outputs the collection of test failures to the developer console for additional correctness comparison.

HypotMap vs SqrtReduce

No description provided

update: lodash.isEqual vs fast-deep-equal vs deepEqual implementation vs claude generated update to fast-deep-equal

Stress testing all functions with large workloads. Since all but lodash.isEqual fall into infinite loops when encountering cyclical objects, and these functions encounter stack overflow with very deeply nested objects, those cases have been omitted. Note: this benchmark test outputs the collection of test failures to the developer console for additional correctness comparison.

Html escaping

No description provided

Lodash uniqWith vs Set with options

No description provided

Lodash uniqWith vs Set with an Object

No description provided

JSON Parse vs StructuredClone large object

Comparses JSON.parse(JSON.stringify()) vs structuredClone on a bigger JSON object

Test sort numbers

Test several function which sort a number

Array.from() vs slice.call()

No description provided

Enum to color mapping: if/else vs object lookup vs switch vs Map (20 values)

Mapování 20 stringových enum hodnot na barvu při stavbě pole objektů { id, color } z 10k položek. Porovnává řetěz if/else, switch, object lookup (s prototypem i bez) a Map.get. Data mají rovnoměrné rozložení hodnot enumu.

Luxon vs Native ISO date parsing 2

No description provided

Array.from(iterable) vs [...iterable]

No description provided

Set: Array.from vs Spread (1 million)

No description provided

for vs backwards for vs foreach vs for..of with loop content

Compare loop performance

test for each and for let i

test

Intl.Collator.compare vs localeCompare with options

No description provided

NEW BENCHMARK Your Benchmarks