Benchmark name When Created
setAttribute cost test one year ago
JavaScript nested namespace vs simple namespace one year ago
guard asdf one year ago
Object.entries VS Object.keys VS Object.keys with extra array VS Object.entries without arraya s.d.. one year ago
Dynamic generator function performance vs embedded function call one year ago
Dynamic generator function performance one year ago
Swap element "in-place" with replaceWith() vs .outerHTML

Swap an DOM element with replaceWith() and compare with the .outerHTML method of replacing its content instead. replaceWith() - Pretty one-liner - Breaks element attributes, inline style and scrollHeight/scrollWidth (fully re-render element) .outerHTML - Keeps attributes, inline style and scrollHeight/scrollWidth (partially re-render element) - Breaks previous element references, "hacky" looking and sometimes perceptible (element may flash for a split second)

one year ago
loops testing

Compare loop performance

one year ago
insertAdjacentHTML + querySelector vs append one year ago
JavaScript spread operator vs Object.assign performance without mutating one year ago
Lodash.isEqual vs JSON.stringify Equality Comparison for 1000 length array one year ago
JSON.stringify + JSON.parse vs structuredClone vs fast_deep_clone (recursive) one year ago
unique elements in array using filter fork2 one year ago
unique elements in array using filter fork one year ago
Object.fromEntries vs reduce v4 one year ago
Math.pow vs ** vs * version for squaring

Updated to prevent VM optimizations to remove the functions

one year ago
Math.pow vs ** vs * version 2

Updated to prevent VM optimizations to remove the functions

one year ago
test02

ResizeObserver vs matchMedia

one year ago
ResizeObserver vs matchMedia extended

ResizeObserver vs matchMedia

one year ago
StrangeBee Markdown Performance Comparison

A performance comparison of leading Javascript Markdown implementations.

one year ago
filter.map vs flatmap vs reduce vs flatmap precreated array and filter always true one year ago
my filter.map vs flatmap vs reduce one year ago
proper sort vs 2 arrays one year ago
sort vs 2 arrays one year ago
toFixed vs Math.round vs |(bitwise or)

Comparing performance of:

one year ago

 New benchmark Your benchmarks