Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

babel transpiled optional chaining vs safeGet vs optional chaining

No description provided

babel transpiled optional chaining vs safeGet

No description provided

typeof vs comparison

No description provided

slice VS splice VS shift: who is the fastest to keep constant size 123123

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

for vs for ... of 2

No description provided

includes vs. find

No description provided

Spread operator vs Array.prototype.concat() for large arrays

Which one is fastest?

Spread operator vs Array.prototype.concat()

Which one is fastest to concat new item to an array?

Number vs parseInt vs +string

No description provided

Testsssssssssssss

No description provided

toString vs +[]

comparing the already fast toString to jsfuck-string conversion +[]

replaceall rgc/string

replaceall with regex en string

My Slice vs Regex

No description provided

compare negative zero

No description provided

Math.sign(-0)

No description provided

jQuery vs getElementById vs querySelector vs jQuery Find

Comparing speed of getting element by id with jQuery vs Vanilla JS with getElementById and querySelector

Previous simple selector vs Current more complex selector

No description provided

Object assign vs spread operator vs manual assign

Testing how these fare against each other to create a new object (no nested objects). The tests will also change one of the properties in the new object.

function vs new function

No description provided

Deep compare two object

No description provided

querySelector(nth) vs querySelectorAll

No description provided

String comparisonwaefawefaewafweafwe

No description provided

lodash uniqBy vs custom uniqBy

the custom uniqBy doesn't rely on sorting. Instead it creates an object with the already added values

Comparison Ajax, Fecth and XHR

No description provided

Array concat vs spread operator vs push (forEach)sdgsdgfsdg

Compare the new ES6 spread operator with the traditional concat() method and push