Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

json stringify vs object tostring number thresholds

No description provided

Lodash cloneDeep vs structuredClone forkeddd erth

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Lodash cloneDeep vs structuredClone forkeddd

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

GetRotation v2

No description provided

Summing with EcmaScript6 Int16Array vs regular JS array

No description provided

instanceof vs property in

Measure the performance of instanceOf operator vs property in operator

Math.abs vs binary Math.abs

comparers Math.abs vs binary ( nr ^ (nr >> 31) - (nr >> 31)) )

gmoney - Concat vs push(...) for large arrays

Comparing the various ways to append to a large array

javascript spread bis

No description provided

javascript spread

No description provided

innerHTML - innerText - textContent

Test performance of innerHTML - innerText - textContent

Intl.Collator.compare vs String.prototype.localeCompare (v8 ASCII fast path)

No description provided

in vs hasOwnProperty vs bool vs typeof vs hasOwn

No description provided

splice vs filter (delete from array)

Comparison of "splice" and "filter" methods for removing an element from an array.

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