Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

set.has vs. array.includes 2233344

No description provided

set.has vs. array.includes 223334

No description provided

set.has vs. array.includes 22333

No description provided

Set has vs object key (large dataset)

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

for vs foreach vs some vs for..of (string array of alphabet; doing actual work)

Compare loop performance

for vs foreach vs some vs for..of (string array of alphabet)

Compare loop performance

Lodash vs map replacer

No description provided

JavaScript string split vs match using regex v2

No description provided