Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

contains vs closest (actually working benchmark)

No description provided

set.has vs. array.includes asdfasdfasdf

No description provided

URLSearchParams vs Custom

No description provided

Math.random vs performance.now

No description provided

Math.random vs crypto.getRandomValues (2)

No description provided

Math.random vs Date.now

Which is best for generating a unique key?

insertAdjacentHTML vs append cloneNode

No description provided

JSON.parse vs string.split.map(Number)

No description provided

JavaScript spread operator vs Object.assign performance (single addition)

No description provided

JSON.parse vs string.indexOf

When discriminating a JSON string to determine action, which is faster?

JS unshift vs splice vs unshift + splice (3 possibilities) FINAL RESULT!

No description provided

Immer vs shallow vs ramda assocPath (nested structure light)

No description provided

Immer vs shallow vs ramda lens (2)

No description provided

NodeList iteration with forEach, prototype.forEach and for

No description provided

query-string vs URLSearchParams 3

No description provided

query-string vs URLSearchParams

No description provided

set.has vs. array.includes vs obj[key] vs map.get

No description provided

Array concat vs push vs spread syntax vs push.apply

Compare the new ES6 spread operator with the traditional concat() method and push, and throw in spread syntax and push.apply().

String.indexOf vs String.replace

Compare String.IndexOf and String.replace function

deep freeze vs deep clone

can be used in similar ways when you want immutable data

Vanilla JS vs Jquery (parents selector)

No description provided

DataView vs Uint32Array debunking myth

No description provided

jQuery 3.6.0 vs Vanilla JS

No description provided

window.getComputedStyle vs. memoized version

No description provided

Object vs Map lookup with string keys

Comparing the performance of lookups in large objects vs large maps when the keys are strings.

NEW BENCHMARK Your Benchmarks