Benchmark name When Created
toFixed vs Math.round vs |(bitwise or)

Comparing performance of:

one year ago
createTextNode vs textContent vs innerText vs append vs innerHTML vs insertAdjacentHTMLvs replaceChildren vs appendChild one year ago
createTextNode vs textContent vs innerText vs append vs innerHTML vs insertAdjacentHTML vs nodeValue vs replaceChildren vs appendChild one year ago
array reuse one year ago
replace an array in JavaScript - splice vs push vs for

Based on question on http://stackoverflow.com/questions/1232040/how-do-i-empty-an-array-in-javascript

one year ago
Object.prototype.hasOwnProperty vs obj.hasOwnProperty vs Object.hasOwn vs in one year ago
Math.pow vs ** vs * – non-constant one year ago
redasdfasdf one year ago
Merge 3 small arrays

Merge 3 arrays of 10 elements

one year ago
Cloning an array

Cloning a small array of 40 items

one year ago
Lodash cloneDeep vs structuredClone vs JSON Parse with lots of data

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

one year ago
for vs while vs for of vs forEach4 one year ago
for vs while vs for of vs forEach3 one year ago
for vs while vs for of vs forEach2 one year ago
bignumber.js vs. big.js vs break_infinity.js

Comparing performance of: Native vs Native + toFixed vs big.js vs bignumber.js vs break_infinity.js

one year ago
Array from vs string split (modified with long strings) one year ago
Map get VS Map has get 4

Map get VS Map has get

one year ago
Map get VS Map has get 3

Map get VS Map has get

one year ago
Map get VS Map has get 2

Map get VS Map has get

one year ago
spread vs push JavaScript one year ago
slice VS splice many items

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

one year ago
RFDC clone (circles: true) vs Lodash cloneDeep (+ cycle) one year ago
RFDC clone (circles: true) vs Lodash cloneDeep vs JSON Clone one year ago
Float32Array performance one year ago
Dayjs Date-fns format comparison 6 one year ago

 New benchmark Your benchmarks