Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

_.uniqueBy vs Set vs Map

No description provided

date substract day

No description provided

Set from Array vs Array#forEach(.add)

No description provided

Set has vs key in object

performance comparison of ways to find if an array contains a value

first upper case extended 1

Compares slice, substr and substring to each other when there is only a start index

first upper case

Compares slice, substr and substring to each other when there is only a start index

create with if vs conditional create

No description provided

normal vs eval fqeret

No description provided

matches vs hasattribute optional

No description provided

3 different for loops vs foreach() vs some() (fixed)

Compare loop performance

instanceof vs isPrototypeOf vs Symbol.hasInstance

No description provided

3 different for loops vs foreach() vs some() vs for..of

Compare loop performance

Medium-size Array concat vs spread operator vs push

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

Lodash cloneDeep vs structuredClone big 123123123

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Lodash isEqual vs JSON stringify (longer version)

Comparing performance of: Lodash isEqual vs JSON stringify

Which comparison operator (> vs ===) is faster? (fork with the correct code)

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

Array filter vs. for loop - with for in -cc

No description provided

Looping with Index: forEach vs array.entries vs for of

No description provided

Array of strings | Some vs Includes (+ spread)

No description provided

Array of strings | Some vs Includes

No description provided

(new)? DataView or BitTwiddling for Reads

Is DataView faster than directly bit twiddling?

TLE: Slice vs Substring

No description provided

for vs foreach vs for..in vs for..of vs reverse while (let instead of var, and optimized for)

Compare loop performance

for vs foreach vs for..in vs for..of (let instead of var, and optimized for)

Compare loop performance

innerhtml vs removechild vs remove vs innerText vs textContent vs replaceChildren vs removechild (reverse) vs remove (reverse)

No description provided