Benchmark name When Created
Lodash _.first vs array[0] test 2 8 months ago
Lodash.isEqual vs JSON.stringify Equality Comparison for Deep Array of Objects

Test on isEqual performance

8 months ago
RegEx vs Array.includes v2 8 months ago
Delete vs rest nokk3r 8 months ago
flatMap vs reduce (concat) vs reduce (spread) vs reduce (push) 8 months ago
RegEx vs Array.includes 8 months ago
JavaScript spread operator vs Object.assign performance vs merge mutation 8 months ago
Dividing by 2 and flooring the result vs unshifting 1 8 months ago
Dividing vs unshifting right 8 months ago
What's faster unshifting left by 1 or multiplying by 2

Benchmark description

8 months ago
Delete vs destructure for objects without mutating s

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

8 months ago
appendChild vs replaceWith, DocumentFragment vs not DocumentFragment 10 elements

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

8 months ago
appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

8 months ago
array includes vs object key vs set

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

8 months ago
jQuery 4.0.0-beta by id vs Document.getElementById 8 months ago
Math.pow(x,0.5) vs Math.sqrt(x) vs **.5 8 months ago
for loop vs. .map (collection) 8 months ago
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).

8 months ago
Math.floor vs alternatives 2 8 months ago
better eval vs function 8 months ago
json stringify vs object tostring AA

Abc

8 months ago
lodash uniq vs set performance 8 months ago
lodash uniq vs set 10 8 months ago
object-hash SHA-1 vs murmur2-JSON.stringify 8 months ago
Math.max() vs .map().sort().reverse() 8 months ago

 Create Your benchmarks


;