Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

for vs. for-in vs. for-of vs. reduce (map object values)

Make a new object by applying a function to each value of the source object.

Lodash reduce vs transform vs Native reduce on object

No description provided

Array.from() vs Array.prototype.map.call() on NodeList

No description provided

lodash mapValues vs vanilla Object.keys foreach vs lodash reduce

No description provided

String concatenation vs concat method

Comparing string concatenation (+) vs concat method.

querySelector data attribute without value vs class name

No description provided

querySelectorAll data attribute without value vs class name

No description provided

js methonds

No description provided

Lodash flatten & map vs native js

No description provided

Map.delete(key) VS Map.set(key, null)

https://www.measurethat.net/Benchmarks/Show/12770/0/delete-vs-null, but with Maps

Object.fromEntries vs reduce vs Map - Corrected fromEntries

No description provided

slice vs substring (with end index)

Compares slice, substr and substring to each other when there is only a start index

Find in array - 004

No description provided

Comparison benchmark <= vs < vs ==

which is faster to check for zero

Array#push vs Array#apply

Comparing performance of: Array#push vs Array#apply

equity async for vs promise.all

No description provided

Fork TreeWalker vs querySelectorAll (* all elements)2

No description provided

Lodash cloneDeep vs JSON parse+stringify vs native deepClone vs structuredClone with large object

No description provided

Lodash cloneDeep vs JSON parse+stringify vs native deepClone with large objects

No description provided

RegExp.exec 1k vs 10k vs 100k character string

Testing exec (not found) times for different string lengths

function parameter destructure

No description provided

Plain object, for vs for in vs for of vs while

compare different ways to loop the keys of an object

Plain object, for vs for in vs for of

No description provided

_.isEmpty() vs null check undefined check and Object.keys

No description provided

JS: insertBefore vs appendChild vs prepend vs insertAdjacentElement

No description provided