Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

hasAttribute vs. getAttribute vs. classList.contains vs. className vs. tagName

No description provided

toNumberTest

No description provided

slice vs subarray vs set - million elements

No description provided

ES6 Class vs Function with float32array vs Function with Array 2

No description provided

ES6 Class vs Function with float32array vs Function with Array

No description provided

aefq4fghtdgf3d2w

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

Math.max with apply vs spread (small size)

Compare the new ES6 spread operator with the Math.max.apply method

if vs ||

No description provided

if/else vs. small switch

No description provided

test dict find with rando

No description provided

test dict find

No description provided

test of find

No description provided

test keyby vs looped findby

No description provided

instanceof vs typeof 3

No description provided

instanceof vs typeof 2

No description provided

Reference assigning

one-liner vs if

javascript loops (bigger loops)

No description provided

React useMemo vs inline ternary

React useMemo vs inline ternary

Loop methods

No description provided

Lodash deep clone vs JSON parse stringify

No description provided

Pre-calc with bit shift vs Typical Code

No description provided

String() vs .toString() vs template literal

No description provided

Array concat vs spread vs push spread

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

lodash groupBy vs Object.groupBy 500k

No description provided

lodash groupBy vs Array.reduce 500k

No description provided

NEW BENCHMARK Your Benchmarks