Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

.attribute vs setAttribute/removeAttribute vs setAttributeNode/removeAttributeNode vs attributes.setNamedItem/attributes.removeNamedITem

No description provided

for-in vs object.keys isEmpty

No description provided

querySelector on HTML tag vs. closest

Figuring out what's faster, to querySelect the HTML tag or use the javascript closest

IndexOf vs Includes in string 333

Banana 333

IndexOf vs Includes vs lodash includes (string)

IndexOf vs Includes vs lodash includes (string)

Concat vs Prototype Push vs Push Spread vs Spread

No description provided

Array.prototype.filter vs Lodash filter vs For vs for..in vs for..of

No description provided

Array loop vs foreach vs map with 100000 itens on array

No description provided

Slice vs deconstruction based copy

No description provided

Add styles via cloneNode vs. createElement

No description provided

NO GETIMAGEDATA! PutImageData vs just DrawImage

v3

FIXED! GetImageData with PutImageData vs just DrawImage

v2

PutImageData vs DrawImage

GetImageData with PutImageData vs just DrawImage

for vs forEach vs some vs for..of vs for..in

Compare loop performance

JavaScript spread operator vs Object.assign with empty obj performance

No description provided

void vs typeof

No description provided

Javascript: reduce VS for

Compare the "reduce" method with the "for" iteration method. Use case: There is an array with different numbers, we will compare the performance between the two methods to find the quantity of numbers greater than zero in the array list.

loop vs reduce for summation

No description provided

While loop vs Closest Js vanilla

No description provided

Inserting and Searching in Map vs Object

Compares insert & search operations with Map vs. POJOs

Native vs Lodash vs Lodash FP - v3

No description provided

Native vs Lodash vs Lodash FP

No description provided

Lodash vs Lodash FP vs Native

No description provided

Object vs Object.seal

JS Javascript Normal Object vs Object.seal performance

Lodash cloneDeep vs best native cloneDeep option

compare array copy/clone methods

NEW BENCHMARK Your Benchmarks