Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

JS compare array

equals vs string join

XString concatenation vs array join vs array reduce

No description provided

obsd test 1

No description provided

Array looping simdi

Finding out the fastest way to loop through an array

ELLHVRTqäU

No description provided

indexOf/findIndex

performance of indexOf vs findIndex for 'larger' objects

check application json startswith vs includes

No description provided

Finding rows in a table that match a selector

No description provided

parentElement vs parentNode (multiple)

No description provided

Spread Operator VS Array.prototype.slice() VS Array.prototype.map()

Spread Operator VS Array.prototype.slice() VS Array.prototype.map()

spread vs mutation vs Object.assign for reduce callback vs for...of loop vs for loop 30K iterations

No description provided

spread vs mutation vs Object.assign for reduce callback vs for of loop vs for loop

No description provided

flatMap (that filters) and forEach with (conditional) push

Checking if cases that flatMaps actually filters and maps agains a condition push using forEach

Javascript: Case insensitive string comparison performance with localeCompare call updated to specify locale.

No description provided

lodash each vs for of loop

No description provided

nothing vs sanitize-html

No description provided

State on localStorage

No description provided

testttttinnnnggg

No description provided

js timestamp cost

No description provided

Intl.DateTimeFormat with and without init

No description provided

element.children vs element.querySelectorAll vs element.querySelectorAll(:scope)

Really basic test comparing accessing children via parentElement.children vs via querySelectorAll vs scoped querySelectorAll. Not a great test for the use case, but people who are less lazy than me can fork it and make it do thing good.

arr unshift vs push + reverse (recreating size 50 array)

No description provided

string + vs concat

No description provided

arr unshift vs push + reverse (size 50 array)

No description provided

Trim regex string loop

No description provided