Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object.keys() allocation

No description provided

try-catch vs return with console log

No description provided

try-catch vs return

No description provided

Replace vs includes

No description provided

#2 Array Includes vs. Find

No description provided

Array Includes vs. Find

No description provided

className vs data attr querySelectorAll vs getElementsByClassName

This benchmark compares the performance of different methods for selecting elements in JavaScript: querySelectorAll and getElementsByClassName.

Getting a list of elements with querySelectorAll vs getElementsByClassName data attr vs class name

This benchmark compares the performance of different methods for selecting elements in JavaScript: querySelectorAll and getElementsByClassName.

textContent vs innerHTML vs innerText

textContent vs innerHTML vs innerText test case

innerHTML vs textContent vs innerText

innerHTML vs textContent vs innerText test case

dataset vs textContent

element.dataset vs element.textContent

Custom Event vs Callback with console log large

No description provided

string vs numbers

No description provided

JSON.stringify vs structuredClone vs cloneLineageData vs cloneDeep

JSON.stringify vs structuredClone vs cloneLineageData vs cloneDeep

SJ - Array.find vs. Map.get

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.push(x) vs array[n]=x

No description provided

localeCompare compare

No description provided

Nathanjamals sorting test

No description provided

trunk test

measure parseInt againts

dompurify vs xss perf

No description provided

caching vs no cachink ye

No description provided

caching string interpolation vs not

No description provided

collectExpandedIdsFromDataSource

No description provided

string interpolation vs direct access

No description provided

promise vs jquery promive

No description provided