Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Delete vs destructure for objects without mutating s

Measure the performance of delete versus removing a prop from an object without mutating

array includes vs object key vs set

performance comparison of ways to find if an array contains a value

jQuery 4.0.0-beta by id vs Document.getElementById

No description provided

Math.pow(x,0.5) vs Math.sqrt(x) vs **.5

No description provided

for loop vs. .map (collection)

No description provided

Getting/Keeping only the first item of an array: length VS splice VS slice

Based on https://stackoverflow.com/questions/39510821/how-to-remove-all-element-from-array-except-the-first-one-in-javascript. All results should output "a" in the console using console.log(arr).

Math.floor vs alternatives 2

No description provided

json stringify vs object tostring AA

Abc

lodash uniq vs set performance

No description provided

lodash uniq vs set 10

No description provided

Math.max() vs .map().sort().reverse()

No description provided

Math.random vs crypto.getRandomValues (2) vs RandomUUID

No description provided

hash-sum vs object-hash opttimized 2

No description provided

object-hash SHA-1 encoding 2 excludeKeys hasOwnProperty fix

No description provided

object-hash SHA-1 encoding 2

No description provided

object-hash SHA-1 vs MD5 vs passthrough

No description provided

object-hash

No description provided

jmfSpeedTest2

which is faster, nested if or switch

jmfSpeedTest

which is faster, nested if or switch

Reduce vs Map+FromEntries vs for loop vs forof loop vd

No description provided

RW - test3

Testing some things

RW - test

Testing some things

Reduce vs Map+FromEntries vs for loop vs forof loop

No description provided

test path sanitize

No description provided

Object.fromEntries vs reduce vs Map vs Object.assign vs forEach (fixed2)

No description provided

NEW BENCHMARK Your Benchmarks