Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

forEach vs filter().map() vs map().filter()

No description provided

forEach vs filter().map()

No description provided

Fastest way to check if object is empty fixed

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

lodash trim vs native string trim

No description provided

startsWith vs includes vs search

No description provided

Spread operator vs apply 2

Compare the differing ways you can call a function with arbitrary arguments dynamically

switch case vs object literal abublebublbebubleblelb

No description provided

className.split(" ") vs. classList.values()

No description provided

dawdawd awd

No description provided

hash-sum vs object-hash big object

No description provided

ts4623

No description provided

Testing Intl performance

No description provided

Intl.NumberFormat 221024

No description provided

concat vs spread operator vs push vs assign

Compare the new ES6 spread operator with the traditional concat() method and push

for loop test brain

No description provided

Array fills

No description provided

Instanceof vs constructor.name

Measure the performance of instanceOf operator vs comparing a basic string type.

Array concat vs spread operator vs push vs forEach vs for...of

Compare the new ES6 spread operator with the traditional concat() method, push, forEach, and for...of

1 property - style.setProperty vs style.cssText vs style vs Object.assign vs setAttribute vs style properties

No description provided

6 properties - style.setProperty vs style.cssText vs style vs Object.assign vs setAttribute vs style properties

No description provided

6 properties - style.setProperty vs style.cssText vs style vs Object.assign vs setAttribute vs direct assignment

No description provided

Lodash: differenceBy vs reduce

Comparing performance of: lodash differenceBy with javascript reduce

String() vs .toString() vs concat

No description provided

Boolean vs !! vs ternary vs custom vs ==

Best boolean coercion

concatts2

No description provided