Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Regex removing whitespace vs trim v3

Regex removing whitespace vs trim

replace vs replaceAll regex

No description provided

Intl.NumberFormat vs Number.toLocaleString

No description provided

JS filter vs splice +indexOf

JS find vs indexOf

Diferentes tipos de flatmap

No description provided

luxon3 vs datefns

No description provided

Test Includes vs some

No description provided

.flatMap() vs .map().flat()

flatMap vs map flat

times or array spread 3

No description provided

times or array spread

No description provided

map Vs object vs array3

No description provided

map Vs object vs array2

No description provided

Clamping via min-max or ternary operator

No description provided

key in object vs object.keys find

No description provided

document.querySelector vs document.getElementsByClassName

No description provided

axios vs node-fetchV2

No description provided

filter vs reduce speedo

No description provided

Moment Date vs string

No description provided

Clamp: min/max vs ternary

No description provided

Checking if number is integer

Compares using num % 1 to number.isInteger

RXJS - simple if vs filter

No description provided

Traverse Elements in DOM tree 3

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Traverse Elements in DOM tree 2

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Traverse Elements in DOM tree

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Array.prototype.slice vs spread operator long 2

Compare the new ES6 spread operator with the traditional slice() method