2 ms·
How does that applies to devices with vastly different CPU and network capabilities? Example: my old dual core Galaxy S2 on a 3G connection and my 8 core laptop
by pmontra 10y ago
How does that applies to devices with vastly different CPU and network capabilities? Example: my old dual core Galaxy S2 on a 3G connection and my 8 core laptop with 100/50 Mbs fiber. Both are Linux and have cgroups (I googled and Android has them.) I expect the browser to ignore any recommendation on that phone and use 100% of the resources every time. That could change, at least for the network, when the phone is on WiFi. On the other side newer octa core phones on LTE could honor the recommendations every time. One problem is that mobile networks can perform very differently even in the same very small area, just add a couple of meters and one thick wall and performances drop. I wonder if the browser can cope with this variability (probably yes) and if it's worth the trouble to implement the extra performance checks and logic. Is this going to be a desktop only technology?
Another problem is the developer: we could pick horrible choices for those limits and break the usability of the site for everybody but us. We need some tools or heuristics to make sensible choices. It's an extra layer of testing, to be automated by simulating different performance profiles. Should those different profiles reflected into the recommended limits, similar to media queries?