3 ms·
Someone has tried beating the loop. And more than a loop, but rather a more real-life-like test rendering multiple components and component trees, sets attribut
by dmitriid 10y ago
Someone has tried beating the loop. And more than a loop, but rather a more real-life-like test rendering multiple components and component trees, sets attributes etc. etc. and you can run it on your own computer in the browser
You can check it out yourself: https://localvoid.github.io/uibench/ https://localvoid.github.io/uibench/
I highly recommend the author's article about it: https://medium.com/@localvoid/how-to-win-in-web-framework-benchmarks-8bc31af76ce7#.9c6vng748 https://medium.com/@localvoid/how-to-win-in-web-framework-be...
- localvoid 10y agoAlso, it seems that many people are defending WCs with an argument about interoperability. But in reality, if we start adding components that are using different frameworks, there will be problems with layout thrashing, etc, because there is no standard scheduling APIs, and each framework implements its own scheduler to batch reads and writes https://github.com/ampproject/amphtml/blob/8a76ee942f329179d1b73d93d3de8d74bc464629/src/service/vsync-impl.js#L46-L47 https://github.com/ampproject/amphtml/blob/8a76ee942f329179d...