Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

array.includes or logical or

No description provided

Reduce (object reuse) vs For loop

No description provided

Boolean vs !! operation 1212

No description provided

Test remove node performance (with new nodes added)

I suspect .textContent = '' should be faster, why are benchmarks saying it isn't? It makes no sense. So let's try adding nodes to clean up?

Test remove node performance

No description provided

ggrt1435werert

No description provided

Last item in array Slice vs Length - 1 vs .at

No description provided

Access first key using for-in vs object.keys() 2

No description provided

Access first key using for-in vs object.keys()

No description provided

String: Includes vs equality check

No description provided

Enums vs string constants

Comparing TS enums and string constants

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.