Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

appendChild cycles vs documentFragment

No description provided

replaceChild vs replaceChildren vs documentFragment

No description provided

Cherrypick replace child vs appending a document fragment

No description provided

JavaScript spread operator vs Object.assign vs Manual property assign performance

No description provided

Number() vs parseInt()

VS

unshift vs reverse push reverse

No description provided

Performance Test: hex substring vs substr vs slice

No description provided

new Array from vs slice vs push vs index vs spread (with array prepared)

No description provided

classList toggle vs. classList add hide

No description provided

merge maps

No description provided

Test hidden vs display none

No description provided

for vs foreach vs some vs for..of vs for in

Compare loop performance

Dom element measure #1

No description provided

Delete vs destructure for objects in loop

Measure the performance of delete versus removing a prop from an object in loop

.startsWith vs .indexOf

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

lodash isUndefined vs typeof === undefined (take 2)

No description provided

if vs ternary vs multiplication

No description provided

Some vs. Filter vs. indexOf vs every

No description provided

image from blob vs native image src

image from blob vs native image src

Object Property Access Notation: Destructuring vs. Dot. vs. Bracket PK

No description provided

_.merge vs destructuring

No description provided

switch vs if vs array

No description provided

filter-map vs reduce vs reduce with destructuring

modified version of `map-filter vs reduce` that switches the order of operations

set.has vs. Object key lookup

No description provided

Date.now() vs Moment()

No description provided

NEW BENCHMARK Your Benchmarks