Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Fastest way to check if object is empty (for in vs.

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

Comparing performance of: split + join vs replace vs replaceAll

Comparing performance of: split + join vs replace vs replaceAll

jquery 1 vs 2 vs 3.6.1

No description provided

slice vs split

No description provided

Memoization + useCallback (II)

No description provided

Which comparison operator (> vs ===) is faster?

Is there a performance benefit to replacing > with ===?

Anonymous Functions Evaluations (IIFE)

No description provided

group-by

Group arrays by object key

Object.entries vs Object.keys vs for..in

No description provided

Multiple replace calls vs string replace by regexp

No description provided

dataset

Banchmark dataset with string vs direct

deep querySelector vs js iteration vs firstChild

No description provided

getBoundingClientRect vs offset

No description provided

window.getComputedStyle vs. getBoundingClientRect vs. window.getComputedStyle without getters

No description provided

Array.includes vs Set.has vas Map.has big

No description provided

Shallow copy vs structuredClone

No description provided

Object.fromEntries vs new Map vs Reduce

No description provided

typeof number vs. Number.isNan vs. isNan

No description provided

Lodash isEqual vs JSON.stringify test with big objects

Test on isEqual vs JSON.stringify performance

find vs indexOf (Array prototype methods)

Measuring which is faster

flatMap vs reduce vs filter.map

No description provided

Array.prototype.concat vs spread operator vs flat [huge collection]

Compare the new ES6 spread operator with the traditional concat() method

NodeList for vs forEach vs length cached

No description provided

Some vs. Filter vs. indexOf vs. includes vs reduce

No description provided

Finding parent element: Closest vs Loop vs Recursion

No description provided

NEW BENCHMARK Your Benchmarks