Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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.

integer division

No description provided

Lodash sumBy vs reduce 1000000 elements

No description provided

Lodash sumBy vs reduce 100 elements

No description provided

startsWith vs indexOf benchmark

No description provided

find scope compare

_.find with one key or more

Lodash vs. Set Intersection (1000000)

No description provided

flatMap vs filter&map

No description provided

Dot property set notation VS Lodash.set (initial attribute existing 2)

Compares different approaches to set an object property

Storage Perf 2

No description provided