Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash sortBy vs Lodash orderBy 2

Lodash sortBy vs Lodash orderBy

array.length !==0 vs array.length > 0

No description provided

spreading vs json parse

Benchmarks spread vs JSON.parse(JSON.stringify())

Test sin computing

No description provided

js forEach vs for..of for @nodejs_ru

No description provided

asdasdsda

No description provided

Array population

No description provided

querySelector(class) vs classList.contains

HTML DOM querySelector, vs looking into classList of element which already have

Comparison of classes vs prototypes vs object literals also including the inheritance

Test the speed and memory usage using different techniques for constructing class objects. It tests ES6 classes, ES6 classes with private objects, Function Prototype and Object literal. For ES6 classes (with and without private objects) and Function Prototype it also tests inheritance.

querySelector(class) vs classList.some

HTML DOM querySelector, vs looking into classList of element which already have

JS Filter Test large array (50000 objects)

No description provided

style vs. style.cssText - additional styles

No description provided

Hello 124

Hello 124

replaceAll vs regex replace for a newLine using html tags larger string

No description provided

replaceAll vs regex replace for a newLine using html tags

No description provided

replaceAll vs regex replace for a newLine

No description provided

Array concat vs spread operator vs push (to end)

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

String each replace - for vs foreach vs reduce

No description provided

addEventListener('resize') + innerWidth + debounce VS matchMedia() + matchMedia.addListener()

This benchmark compares using `addEventListener('resize')` with window.innerWidth versus window.matchMedia with it's`addListener()` function to see which is faster.

test reduce vs flatMap

No description provided

JUST Object.entries VS Object.keys VS Object.values

No description provided

startswith vs includes (exact string)

No description provided

Test4123123

No description provided

indexOf vs includes search2

No description provided

json stringify vs array tostring vs array join 2d array

No description provided