Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

parseInt vs Number vs Plus addition

No description provided

localeCompare vs collator.compare vs new Intl.Collator().compare

localeCompare is an abstraction of Intl.Collator, thus they can accept the same options.

Lodash.isEqual vs JSON.stringify Equality Comparison for complex objects

Test on isEqual performance

.startsWith() vs .test() vs .match() vs .indexOf() with failures

No description provided

Intl.Collator.compare() vs localeCompare() - natural sort order

localeCompare is an abstraction of Intl.Collator, thus they can accept the same options. This test shows that using Intl.Collator is quicker for multiple comparisons.

lodash isUndefined vs typeof === undefined (take 3)

No description provided

String() vs .toString() vs `${string}`

No description provided

classList toggle false vs. classList remove

No description provided

Date.now() vs new Date().toISOString()

No description provided

merge vs mergeWith vs object.assign vs spread12

No description provided

test 100k obj check

No description provided

Lodash cloneDeep vs JSON stringify vs structuredClone

No description provided

Insert value at certain index in array

The goal is to test which is faster - combinations between Array.prototype.slice and Array.prototype.push methods or custom for-loop alternative in the context of inserting value at given index

for/for in/forEach array sum

No description provided

Data Properties vs Getter / Setter Methods ES2015

No description provided

JavaScript spread operator vs direct assignment performance

No description provided

isArray vs length

Array.isArray vs array.length > 0

Compare createElement vs template String - 100 times

No description provided

Compare createElement vs template String - 5 times

No description provided

Compare createElement vs template String

No description provided

hash-sum@2.0.0 vs object-hash@3.0.0 vs jsum@2.0.0-alpha.4

No description provided

nested function

No description provided

NodeIterator vs TreeWalker for Component Extraction

No description provided

Lodash Capitalize vs Vanilla Js

No description provided

Lodash vs Vanilla JS Test

No description provided

NEW BENCHMARK Your Benchmarks