Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash cloneDeep vs structuredClone vs JSON clone s

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

SPlICE + UNSHIFT vs SORT (1000 items)

No description provided

SPlICE + UNSHIFT vs SORT ( 100 items )

No description provided

SPlICE + UNSHIFT vs SORT (10000 items)

No description provided

Eliminate falsy values in an array

No description provided

lodash assignIn vs object.assign vs spread vs loop

var a = { a: 'oh', b: 'my' }; var b = { c: 'goddess' }; for (const key in b) { a[key] = b[key] }

lodash assignIn vs object.assign vs spread

No description provided

Object destruction vs. dot notation 6

No description provided

Object destruction vs. dot notation 5

No description provided

if vs AND

No description provided

Object.values vs for in loop vs for loop

No description provided

localeCompare vs collator

No description provided

Array fill vs Array from vs for-loop

Array fill vs Array from vs for-loop performance validation

Array fill method vs for loop vs push

Array fill method vs for loop performance validation

Map() vs Object {}: comparing the effects of iterating over both structures, Map().values() vs Object{}["Methods"]

There are three methods: Map + Map: when creating and iterating over Maps Map + Obj: when creating a Map but iterating over Objects Iteration Hell: Using different types of iteration like, reduce, find, filter all inside one another Map + Obj without sort: this one is for personal use

flatMap() vs map() and flat()

flatMap vs map and flat

lodash.get vs optional chaining vs safeGet vs dlv

Compare lodash.get to babel transpiled ?. (optional chaining) operator

lodash.get vs optional chaining vs safeGet

Compare lodash.get to babel transpiled ?. (optional chaining) operator

V4 Map + Obj vs Map + Map

Testing if mixing map with objects is better or worse then just using Map and then iterating over It

V3 Map + Obj vs Map + Map

Testing if mixing map with objects is better or worse then just using Map and then iterating over It

V2 Map + Obj vs Map + Map

Testing if mixing map with objects is better or worse then just using Map and then iterating over It

Map + Obj vs Map + Map

Testing if mixing map with objects is better or worse then just using Map and then iterating over It

hasOwnProperty vs hasOwnProperty .call

No description provided

loop/filter test -3

No description provided

loop/filter test -2

No description provided