Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

IndexOf vs Includes vs lodash includes for string

Banana

lodas2 groupBy vs Array.reduce

No description provided

Lodash isPlainObject vs typeof

No description provided

Lodash Uniq vs Lodash UniqBy vs Javascript Set

No description provided

Array.prototype.map vs Lodash.map on large data

Approaches performance

Array length variable

Loop over array with/without separate variable for length

2's math pow vs shift vs exp

No description provided

Path2d vs drawImage(svg)

No description provided

Deep Compare Object

No description provided

RFDC clone vs Lodash cloneDeep vs JSON Clone

No description provided

getElementsByClassName()[0] vs querySelectorAll

No description provided

Path2d vs drawImage(svg) v2

Comparison of drawing a path2d object vs using drawImage with an svg

JS: append vs appendChild

No description provided

Number vs + vs parseInt

No description provided

Date.now() vs performance.now()324234

Performance measure can be slow

native slice vs lodash slice

No description provided

Substring in a string: IndexOf vs Includes vs lodash includes

Testing for the speed of finding a substring in a string.

Object.keys ForEach vs for-in hasOwnProperty

Original source: https://jsperf.com/object-keys-foreach-vs-for-in-hasownproperty

Lodash.js vs instanceof Array

No description provided

String accumulation using forEach vs. map+join vs. reduce

No description provided

String accumulation with forEach vs. map+join

No description provided

IndexOf vs startwith

No description provided

lodash.round VS Math.round

Compare round lodash function vs javascript native toFixed() function

jQuery hasClass vs vanilla JS classList.contains

No description provided

Array.from vs Spread for map values

No description provided

NEW BENCHMARK Your Benchmarks