Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

slice vs substr (negative index)

Compares slice and substr against each other when there is a negative index provided

jQuery filter vs every

No description provided

window.getComputedStyle vs. getBoundingClientRect width calculation

No description provided

.map() vs for-of + push

No description provided

【JiangNanGame】ctx.drawImage(HTMLImageElement) VS ctx.drawImage(HTMLCanvasElement)

No description provided

toFixed vs Math.round() generic 2

No description provided

lodash/cloneDeep vs. JSON.parse(JSON.stringify())

No description provided

jQuery 3.6.0 Performance Test

Testing jQuery vs Javascript

jQuery 3.7.0 Performance Test

Testing jQuery vs Javascript

Set vs Good Filter for unique

No description provided

Set.has v.s Array.includes v2

No description provided

yoooooo

No description provided

Set.has v.s Array.includes

No description provided

Calling method of a proxy vs object

Object method call vs proxy method call vs proxy with a handler method call

_.isEqual vs Object.is

No description provided

array includes vs set has (x-small list)

No description provided

array includes vs set has

No description provided

Get Total of object's Children

Benchmarks to go with https://gist.github.com/Potherca/039581984faab7b0f23d2043729a14f4

Array from vs string split vs spread

No description provided

Intl.NumberFormat vs existing way

No description provided

node list conversion

No description provided

Compare comparison with null or undefined. With typeof

No description provided

DOMParser vs InnerHTML benchmark for svg parsing

No description provided

cost of adding new properties to object after creation.

No description provided

cloneDeep vs structuredClone vs JSON clone

No description provided