Benchmark name When Created
parentElement vs parentNode (multiple) 10 months ago
Spread Operator VS Array.prototype.slice() VS Array.prototype.map()

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

10 months ago
spread vs mutation vs Object.assign for reduce callback vs for...of loop vs for loop 30K iterations 10 months ago
spread vs mutation vs Object.assign for reduce callback vs for of loop vs for loop 10 months ago
flatMap (that filters) and forEach with (conditional) push

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

10 months ago
Javascript: Case insensitive string comparison performance with localeCompare call updated to specify locale. 10 months ago
lodash each vs for of loop 10 months ago
nothing vs sanitize-html 10 months ago
State on localStorage 10 months ago
testttttinnnnggg 10 months ago
js timestamp cost 10 months ago
Intl.DateTimeFormat with and without init 10 months ago
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.

10 months ago
arr unshift vs push + reverse (recreating size 50 array) 10 months ago
string + vs concat 10 months ago
arr unshift vs push + reverse (size 50 array) 10 months ago
Trim regex string loop 10 months ago
Check first and last char loop charAt startsWith slice regex.test 2 10 months ago
Check first and last char loop charAt startsWith slice regex.test 10 months ago
Check first and last char charAt startsWith slice regex.test 10 months ago
Trim regex string 10 months ago
Get words ending in number 10 months ago
this vs variable containing this 10 months ago
regex vs filter 10 months ago
void 0 vs undefined vs variable containing undefined 10 months ago

 Create Your benchmarks


;