Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Iterate array backwards then clear

No description provided

`array[i]` vs `array.at(i)`

No description provided

Regex removing whitespace vs trimEnd

testing removing end whitespace vs trimEnd

testando 123 teste

const array = [1,2,3,4,5,6,7,8,9,10,11,12,13];

Array.slice(-1) vs Array.At(-1) Teste Pro Eduzeira

Array.slice(-1) vs Array.At(-1)

Attribute vs Class Selector vs ID Selector

No description provided

JS: append vs appendChild multiple insert

No description provided

innerHTML vs innerText vs textContent 2

blah blah

class vs object create

No description provided

Performance of query selector vs className

No description provided

javascript class vs function closure

No description provided

for (cache length) vs foreach vs for..in vs for..of

Compare loop performance

asdasdasdas

asdasd

js array copy speed comparison with spread

No description provided

square reverse vs sqrt

Square vs square root

square vs sqrt

Square vs square root

Crypto.randomUUID() vs new Date().getTime()

In real world example new Date() will be unique date. In this case its same days

Lodash cloneDeep vs structuredClone 2

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

Array concat vs spread operator vs push vs array length + assign

No description provided

js array copy speed comparison v3

No description provided

eval vs new Function strict

No description provided

Some vs Filter Vs FindIndex

No description provided

const vs let vs var fixed

No description provided

Lodash.get vs Property dot notation with longer path and conditional access

No description provided

Lodash.get vs Property dot notation with longer path

No description provided