Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

replaceWith vs replaceChild

replace dom

Array Fill comparison

Comparison with different methods of Array Fill, to avoid object reference.

round vs add half and floor

No description provided

array insertion, splice vs copyWithin

No description provided

case insensitive search

No description provided

Lodash.js vs Nativexxxxx

No description provided

JS Regex vs .startsWith vs .indexOf by Jarvis

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

closest() vs parent().parent() + hasClass()

Checking if double parent() + hasClass() validation is really faster than just going for closest().

Lodash cloneDeep VS spread

Lodash cloneDeep vs Spread operator

loop filter for in if VS filter map

No description provided

Number.toLocaleString vs Intl.NumberFormat vs Regex

No description provided

Lodash uniqBy vs Reduce uniqBy

Filtering array of objects by key

Function Invocation 2

No description provided

Function Invocation

No description provided

Reduce vs Object.assign vs Object.fromEntries

No description provided

Compare substring with less than threshold with doing nothing 2

No description provided

Compare substring with less than threshold with doing nothing 1

No description provided

Compare substring with less than threshold with doing nothing

No description provided

Regex vs split/join 2

No description provided

toFixed vs toPrecision vs Math.round() to 1 decimal place

No description provided

querySelectorAll(*) vs getElementsByTagName(*) iteration

No description provided

Lodash.isEqual vs JSON.stringify Equality Comparison for Deep Array Comparison

Test on isEqual performance

Data Processing Benchmark

Naive vs Optimized implementations

shallow clone array

No description provided

sdadsadsadsadsadsa

No description provided