Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash.assign vs Object.assign

Measuring approaches performance

Native forEach vs jQuery.each

No description provided

Get max from an array of numbers (Math.max vs. iteration) V3

No description provided

Compare jQuery 3.6.1 vs. 3.2.1 Performance

No description provided

MomentJS vs Native Date

No description provided

Math.round vs Bitwise

Check is is faster using bitwise operations

Array filtering: (splice + predefined index) vs (filter) - small array

No description provided

Local storage vs memory

No description provided

uniqBy vs Set

No description provided

for-in vs for of vs object.keys vs object.entries

No description provided

find vs findIndex vs filter

Measuring which is faster

lodash times vs Array.from

No description provided

_.uniq vs Array.from(new Set())

No description provided

cached Intl.NumberFormat vs toLocalString

No description provided

Object spread vs new Map vs Object assign with complex data

No description provided

parseInt vs ~~

No description provided

fight to the death - for loop vs chained array methods (100,000)

array length 100,000

PutImageData vs DrawImage (big canvases)

No description provided

Redundant Lookups

No description provided

if vs switch case

No description provided

JSON Query Languages

JMESPath vs JSONata vs JSPath vs JSONPath

Lodash _.get() vs Optional Chaining

No description provided

test DomParser #2

No description provided

Set innerText vs textContent

No description provided

Unshift vs concat

We can add elements to the beginning of array using both, let's find out which is faster. Unshift also mutates the array. Concat does not, so that would be preferable.

NEW BENCHMARK Your Benchmarks