Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.from() vs new Array()2

Testing the difference between creating filled arrays.

date now performance

No description provided

classNames2

No description provided

Lodash cloneDeep vs structuredClone 22222

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

Lodash cloneDeep vs structuredClone 2222

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

classNames

No description provided

new Date from timestamp vs new Date from date-string

No description provided

Number.toString(16) & parseInt(String, 16) vs Number.toString(36) & parseInt(String, 36)

No description provided

slice vs substr vs substring (with no end index) vs not

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

map vs object wqe21123

No description provided

Lodash meanBy vs JS (with small and large size)

No description provided

Array and direct object access

No description provided

getElementById vs querySelector in large DOM

No description provided

Which equals operator (!== vs > ) is faster?

No description provided

multi-order consolidateCartItems

No description provided

Object camelCase conversion test

No description provided

If/Push or Map/Filter

Create a filtred array using forEach/if/push or map/filter

Push or Map

Push or Map to create a new array

img.setAttribute vs img.src

No description provided

for vs foreach vs for..in vs for..of (Fixed)

Compare loop performance

Array slice vs for loop vs spread (new Array)

No description provided

style.prop vs style["prop"] vs style.getPropertyValue("prop")

No description provided

style.setProperty vs style.cssText vs style vs attributeStyleMap.set vs style.prop

No description provided

bind vs closure (forked)

No description provided

shallow clone object vs map copy vs strucutredClone

No description provided