Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Best way to get all function arguments

No description provided

add items to arr

No description provided

remove item

No description provided

empty array diff

No description provided

Array.from vs Spread (small)

No description provided

Date.parse vs new Date vs Date String Split no msec

No description provided

Date.parse vs new Date vs Date String Split

No description provided

fill vs from Array vs from object

No description provided

fill vs from vs from object

No description provided

array.find vs object by key

No description provided

Join: Lodash vs Native

No description provided

!!find vs findIndex != -1

Measuring which is faster

slice vs filter without spread

No description provided

for(const x of arr) vs. for(let i = 0; i < arr.length; i++)

No description provided

Ramda vs native (find)

TBD

Array vs Generator comprehension

No description provided

Array vs Generator

No description provided

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

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

for vs foreach vs some vs for..of over real array

Compare loop performance fixing bug where `Array(100)` results in no actual iteration in some loop types

_.some vs deconstruction

No description provided

Small Array.from vs Spread

No description provided

Lodash clamp vs Math.min(Math.max) vs Bitwiseyrooneyh

No description provided

Rafa speed test 1

No description provided

slice vs substr vs substring (average)

Compares slice, substr and substring to each other when there is only a start index

Traverse function vs NodeIterator vs TreeWalker - Ex

Let's compare the speed of 3 different ways to traverse the DOM.