Benchmark name | When Created |
---|---|
Dataview vs Uint8Array - read byte | 4 years ago |
My Test2 | 4 years ago |
Id vs QuerySelector | 4 years ago |
JavaScript spread operator vs Object.assign performance vs access
test |
4 years ago |
Batch your DOM changes, especially when updating styles
https://www.linkedin.com/pulse/25-techniques-javascript-performance-optimization-steven-de-salas When making calls to modify DOM make sure you batch them up so as to avoid repeated screen rendering, for example when applying styling changes. The ideal approach here is to make many styling changes in one go by adding or removing a class, rather than apply each individual style separately. This is because every DOM change prompts the browser to re-render the whole UI using the boxing model. If you need to move an item across the page using X+Y coordinates, make sure that these two are applied at the same time rather than separately. |
4 years ago |
My Test | 4 years ago |
Compute factorial of a number in JavaScript
Iterative and recursive versions Implementations borrowed from https://medium.freecodecamp.org/how-to-factorialize-a-number-in-javascript-9263c89a4b38 |
4 years ago |
test benchmark | 4 years ago |
Spread operator vs Array.push vs array[lastIndex] | 4 years ago |
NodeList to Array
NodeList to Array |
4 years ago |
querySelector vs getElementsByClassName v3 | 4 years ago |
querySelector vs getElementsByClassName v2 | 4 years ago |
Multiply speed test 3 | 4 years ago |
Multiply speed test 2 | 4 years ago |
Multiply speed test | 4 years ago |
document.head vs document.getElementsByTagName | 4 years ago |
document.head vs document.getElementsByTagName("head")[0] fork123456 | 4 years ago |
document.head vs document.getElementsByTagName("head")[0] fork12345 | 4 years ago |
document.head vs document.getElementsByTagName("head")[0] fork1234 | 4 years ago |
document.head vs document.getElementsByTagName("head")[0] fork123 | 4 years ago |
document.head vs document.getElementsByTagName("head")[0] | 4 years ago |
noname | 4 years ago |
JavaScript spread operator vs Object.assign performance | 4 years ago |
Get elements by class: jQuery vs querySelectorAll vs getElementsByClassName
Compare various methods of obtaining a group of elements identified by class name |
4 years ago |
Get elements by class: jQuery vs querySelectorAll vs getElementsByClassName
Compare various methods of obtaining a group of elements identified by class name |
4 years ago |