Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Different method to traverse a reversed array.

No description provided

className vs classList normalization

No description provided

set.add vs array.push vc1

No description provided

Determining if a variable is an object

Compares three ways of determining if a variable is an object. - Check if object by comparing value to an object instantiated from the value - Using typeof - Using instanceof

Ways to cache Intl.NumberFormat

Try to test different ways of keeping Intl.NumberFormat instances for better performance.

this is a testd

No description provided

this is a test

No description provided

Set has vs object key bigger list

performance comparison of ways to find if an array contains a value

createElement vs cloneNode for template

Faster way to create new dom elements before insertion

Computing the running sum of an array

The main difference between these loops is that the second loop increments i mid-loop so it can avoid a subtraction to get the previous element. This is the kind of operation you would do to get an integral image so the array size is set to the same amount of pixels as a 720p image.

Test: CSS calc() with var() - 02

Test difference in performance with calc() and var() functions compared with simple units. Test on unitless, percentage and absolute values.

object create null db fork

No description provided

eval vs new Function - bool

No description provided

structuredClone vs deepClone vs JSON clone and compare with custom function vs stringified

No description provided

Native Array at vs Native Array length - 1 vs Lodash at

No description provided

fetch.arrayBuffer() vs fetch.bytes() 2

No description provided

fetch.arrayBuffer() vs fetch.bytes()

No description provided

String.replace using regex vs string

No description provided

Lodash CloneDeep vs Immer Produce - Bigger Data Set

No description provided

document.body.getElementsByClassName vs document.getElementsByClassName +more el

No description provided

document.body.getElementsByClassName vs document.getElementsByClassName +

No description provided

document.body vs document.querySelector vs document.getElementsByTagName speed test

No description provided

Direct call vs bind vs call vs apply, with spread syntax

No description provided

Hihihihi

hihi

defineproperty (data property) vs direct assignment

No description provided