Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Sync vs Promise benchmark test

No description provided

deepClone vs JSON parse/stringify

No description provided

at method versus array index

How does Array.prototype.at() performance compare to traditional indexing (arr[i]).

test luxon

No description provided

String() vs .toString() vs ``

No description provided

Javascript unique string array

Create a unique array of strings from a possible non-unique array.

getElementById vs id toggling class

No description provided

getElementById vs id

No description provided

array vs hashmap lookup

No description provided

Lodash uniqBy vs Native

No description provided

JS Regex vs .startsWith

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

Map vs JSON

Map vs JSON

set.has vs. Object key

No description provided

Lodash uniq vs Object unique keys vs Set

No description provided

for-in Object.hasOwn vs for-of Object.keys

No description provided

innerHTML vs replaceChildren CLEAR

No description provided

set.has vs. Object key lookup for real without bang bang

No description provided

Split vs Regex with execute

No description provided

DOMParser vs createContextualFragment vs innerHTML vs insertAdjacentHTML vs createContextualFragment Polyfill vs template vs template insertAdjacentHTML Large HTML

No description provided

DOMParser vs template vs createContextualFragment vs innerHTML vs insertAdjacentHTML vs createContextualFragment Polyfill 2 Large HTM

No description provided

style.setProperty vs style.cssText vs style vs attributeStyleMap.set

No description provided

spread operator VS delete

Comparing the performance difference between the spread operator and the delete operator.

for with break vs Array.find()

No description provided

Array() vs new Array()

No description provided

Testing leftpad just for lulz

No description provided

NEW BENCHMARK Your Benchmarks