Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

JavaScript spread operator vs Object.assign performance vs merge mutation

No description provided

Dividing by 2 and flooring the result vs unshifting 1

No description provided

Dividing vs unshifting right

No description provided

What's faster unshifting left by 1 or multiplying by 2

Benchmark description

Delete vs destructure for objects without mutating s

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

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment 10 elements

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

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

better eval vs function

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

object-hash SHA-1 vs murmur2-JSON.stringify

No description provided

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

No description provided

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

No description provided

[LC] template

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