Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

array indexOf vs includes vs some vs binary search on large array - end of list - no logging

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

String() primitive vs template literal interpolation for representing a number as a string

No description provided

lodash intersection test vs Set/Map

No description provided

then vs. async-await

No description provided

Bind vs arrow function instantiation performance

is it faster to create functions using function.bind or to wrap them in an arrow function. tested for requestAnimationFrame generation

pickby vs filter on object

No description provided

Date valueOf() vs Date.now()

No description provided

Instanceof vs property access

No description provided

function.call() vs function()

No description provided

ES6 Class vs Prototype vs Object Literal

Test the speed and memory usage using 3 different techniques for constructing class objects.

perfomance.now vs Date.now vs new Date().getTime() and toString(36)

Comparing performance of perfomance.now, Date.now and new Date().getTime() and converting to b36 string

Lodash omit vs Native delete vs Deconstruct - Test

No description provided

Array.splice with indexOf vs Array.filter

Test a speed difference between these 2 approaches

children vs new querySelctorAll

No description provided

Object.fromEntries vs reduce vs property assignment vs Map

No description provided

Object.fromEntries vs reduce vs property assignment

No description provided

React.memo vs no React.memo

No description provided

array.includes vs set.has vs object property

No description provided

push, spread, concat

No description provided

Map vs Object (3)

Lookup of map vs object

Comparing deep cloning methods (small object): Lodash <> Custom clone func <> JSON.parse <> structuredClone 2

Missing clone-deep

lodash xor vanila toggle

lodash xor for toggling value vs es6 includes if else

clientHeight vs offsetHeight vs getBoundingClientRect

No description provided

string-interpolation-vs-string-type-coercion

No description provided

JS native vs js native loop vs Ramda vs. Lodash

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

NEW BENCHMARK Your Benchmarks