Benchmark name When Created
inbuilt structuredClone vs spread object one year ago
Object.values VS Object.entries VS Object.keys VS Object.keys VS Object.values with forEach one year ago
Array fill vs for i loop

People tend to use array fil and then foreach, we know foreach is faster than a for loop, but is it also faster if you use array fill first?

one year ago
Spread vs Array.from on querySelectorAll

Create array from Node.childNodes

one year ago
Spread vs Array.from on NodeList

Create array from Node.childNodes

one year ago
Lodash clone VS spread operator v4.17.21 one year ago
Lodash cloneDeep VS spread operator v4.17.21 one year ago
Math.max with apply vs spread vs reduce 10k elements

Compare the new ES6 spread operator with the Math.max.apply method

one year ago
Test String Compare one year ago
assign vs void one year ago
Lodash cloneDeep vs structuredClone vs JSON Parse (Big Object)

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

one year ago
set value if non existent one year ago
flatMap() vs filter().map() vs reduce() vs forEach()

Test four different approaches for a combination of filtering and mapping elements of an array.

one year ago
new Set() vs Array.prototype.filter one year ago
Test find x 2 vs forEach + some one year ago
Test find x 2 vs flatMap + find one year ago
Shallow Copy Array - Slice vs Spread vs Filter one year ago
sorting an array and then reverse vs sorting with reversive comparison one year ago
Set vs some for arrays of objects one year ago
toFixed vs Math.round() sd6f54sd6f54

Comparing performance of: toFixed(4) vs toPrecision(4).toString() vs (Math.round(*10000)/10000).toString() vs Math.floor fast vs the new Math.trunc

one year ago
toFixed vs Math.round() sd6f54sd6f54s6df54ds6f

Comparing performance of: toFixed(4) vs toPrecision(4).toString() vs (Math.round(*10000)/10000).toString() vs Math.floor fast vs the new Math.trunc

one year ago
Array length to string one year ago
map vs object 2 2 2 2 one year ago
parsefloattofixed vs round

Compare round lodash function vs javascript native toFixed() function

one year ago
replace vs substring vs slice testtestestetest one year ago

 Create Your benchmarks


;