Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

json stringify/parse vs array join/split (numbers) v2

No description provided

json stringify/parse vs array join/split (numbers) v1

No description provided

JSON.stringify(body)

JSON.stringify(body)

find faster - array.find vs map.get

No description provided

ES6 Class vs Prototype vs Object Literal extends Date

Test the speed and memory usage using 3 different techniques for constructing class objects.

Map -> fromEntries

No description provided

spread vs structured

No description provided

IS using regexes faster for string replace 2

No description provided

IS using regexes faster for string replace

No description provided

Reactive fine grained with many children replace

No description provided

spread vs json stringify/parse vs structuredClone

No description provided

_.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