Benchmark name | When Created |
---|---|
flatMap vs reduce (concat) | one year ago |
Pancake GroupedList | one year ago |
Pancake
Flattens a grouped list |
one year ago |
Lodash uniqBy vs Set vs custom uniqBy | one year ago |
Fragment js createElement 56454 | one year ago |
Fragment js createElement 2 | one year ago |
111456v54v6546
222 |
one year ago |
Encode vs Blob vs length
Checking size of string performance |
one year ago |
elem.ownerDocument.defaultView.getComputedStyle vs window.getComputedStyle | one year ago |
lodash merge vs deepmerge 4.2.2 | one year ago |
Array concat vs spread operator vs push with object
Compare the new ES6 spread operator with the traditional concat() method and push |
one year ago |
dompurify vs native vs none long | one year ago |
dompurify vs native vs none | one year ago |
Lodash reduce vs transform vs Native reduce on object (Object without prototype) | one year ago |
FindIndex + splice vs filter + includes | one year ago |
pick by spread operation vs delete | one year ago |
String.charAt vs String.sub | one year ago |
Int32Array.sort vs Array.sort | one year ago |
Array.sort vs Int32Array.sort | one year ago |
string concatenation vs string array | one year ago |
querySelector vs querySelectorAll simple (single element result) | one year ago |
Object.fromEntries x reduce (correctly using fromEntries - addtl work) | one year ago |
Object.fromEntries x reduce (correctly using fromEntries) | one year ago |
Math.sqrt(x) vs x**0.5 | one year ago |
Generate HTML and get reference to element : DOMParser + querySelectorAll vs document.createElement
We want to build HTMLElements and get reference to some of them in an object named controller. Here we say we want reference to elements with an 'id'.<br> <br> We test two different methods :<br> - Create elements from HTML string using DOMParser and use querySelectorAll to build controller<br> - Create elements from createElement method and build controller from them<br> <br> Here we also put the generated DOM in a fragment because we want to be able to append generated DOM to any element |
one year ago |