Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

!!array.length vs array.length > 0

No description provided

Switch vs Object Literal extended

No description provided

ref?.current? vs ref.current? when current = null

No description provided

sort alphanum

No description provided

includes indexOf

No description provided

ref?.current? vs ref.current?

No description provided

Lodash.isEqual vs JSON.stringify Equality big obj

Test on isEqual performance

fflate gzip

No description provided

pako vs. fflate

emulate file compression/decompression

typeof x === 'number' vs isNaN(x) rtestset22

No description provided

js search benchmark

No description provided

Object.fromEntries vs Array.reduce

No description provided

Array.sort 1 vs Array.map x1

No description provided

Array.sort vs Array.map x1

No description provided

Array.sort vs Array.map x2

No description provided

Is Some faster than !!find

No description provided

JS Date libraries 2 fixed

No description provided

Lodash sort vs array.prototype.sort fork for spread

No description provided

array iteration vs _.each vs map vs for..of vs for loop AP1

No description provided

array iteration vs _.each vs map vs for..of vs for loop AP

No description provided

angular.copy vs JSON.parse(JSON.stringify()) vs structuredClone AP3

FIguring out the performance differences between using the operations in the name on copying an array of objects considering the fact that other methods of copying (slice, concat, etc.) are shallow copies and end up being by reference instead of by value.

angular.copy vs JSON.parse(JSON.stringify()) vs structuredClone AP2

FIguring out the performance differences between using the operations in the name on copying an array of objects considering the fact that other methods of copying (slice, concat, etc.) are shallow copies and end up being by reference instead of by value.

reduce vs flatmap recursive

No description provided

angular.copy vs JSON.parse(JSON.stringify()) vs structuredClone AP_Object.assign(origArr)

FIguring out the performance differences between using the operations in the name on copying an array of objects considering the fact that other methods of copying (slice, concat, etc.) are shallow copies and end up being by reference instead of by value.

angular.copy vs JSON.parse(JSON.stringify()) vs structuredClone AP

FIguring out the performance differences between using the operations in the name on copying an array of objects considering the fact that other methods of copying (slice, concat, etc.) are shallow copies and end up being by reference instead of by value.