Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

forEach vs for len vs for in vs for of vs babel for of loops

created based off of an archived jsperf benchmark: http://web.archive.org/web/20191008221700/https://jsperf.com/foreach-vs-for-loop-vs-for-in-vs-for-of-vs-babel-for-of

Includes vs some

No description provided

tagName vs nodeName

No description provided

Ramda forEachObjIndexed vs Native Object.values + Array.map

No description provided

Data Properties vs. Accessor Properties vs. Getter / Setter Methods 2

The purpose of this benchmark is to determine the performance differences between data properties, accessor properties and getters / setter functions.

erwerrwerwer

No description provided

isNumber: regex vs isNaN (version: 2)

No description provided

jibadlit001

jibadlitdesc001

fast deep clone array

No description provided

testas

No description provided

Spread vs IF

No description provided

Unique Array: Lodash or from Set with Clean and Sort

No description provided

groupConsecutiveNumbers with immutable prepending, large and small arrays

No description provided

groupConsecutiveNumbers with immutable, large and small arrays

No description provided

zzzxzxzx

No description provided

Array loop vs foreach vs map - v1

No description provided

groupConsecutiveNumbers, large and small arrays

No description provided

Lodash vs Math (lodash 4.17.5) arr(5000)

No description provided

Reduce with inline add vs. lodash add for ten thousand elements

No description provided

Sum vs Reduce for ten thousand elements

No description provided

Reduce vs looping vs ifs

No description provided

remove with splice vs filter

No description provided

Object.defineProperty vs Object.assign vs key set

No description provided

slice VS splice VS shift: who is the fastest to keep constant size (fork)

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

Object.assign vs key assign

No description provided