chrome://settings does not load on android with chrome, users see the native ui instead. Are there other webui pages that would reveal noticeable speedups from this optimization?
also, as you probably know, renderers are restricted for security reasons, there is a lot of value in keeping security policies as simple as possible.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
chrome://settings does not load on android with chrome, users see the native ui instead. Are there other webui pages that would reveal noticeable speedups from this optimization?
also, as you probably know, renderers are restricted for security reasons, there is a lot of value in keeping security policies as simple as possible.
On Jun 20, 2016 10:00, "Kirill Pleshivtsev" <drb...@yandex-team.ru> wrote:Hello,WebUI pages download resources via the main process, where they are extracted from the PAK files without any processing and sent via IPC back to the renderer process.Passing data between processes delays of 1-2 ms per subresourse (can be seen at chrome://net-internals). We can speed up the loading of WebUI pages, if will load resources from a pak file directly from the renderer process.This requires having a mapping with the name of the resource and its identifier in the PAK file. It requires additional dependencies in the content from ui_resources.gyp:ui_resources and simple handler in web_url_loader_impl.cc.For example chrome://settings loads the 46 subresources, whose downloading can be optimized.
I don't think pak files are available to renderers on android, though haven't checked recently. Having two codepaths - not such great.
Do you have a benchmark reflecting some real world usecase? It seems the optimization can potentially save less than 100ms, but webui is not used that often and may be not worth the complexity. Quick experiments would be good to make your case more convincing.
I don't think pak files are available to renderers on android, though haven't checked recently. Having two codepaths - not such great.
Do you have a benchmark reflecting some real world usecase? It seems the optimization can potentially save less than 100ms, but webui is not used that often and may be not worth the complexity. Quick experiments would be good to make your case more convincing.
Hello,WebUI pages download resources via the main process, where they are extracted from the PAK files without any processing and sent via IPC back to the renderer process.
Passing data between processes delays of 1-2 ms per subresourse (can be seen at chrome://net-internals). We can speed up the loading of WebUI pages, if will load resources from a pak file directly from the renderer process.
This requires having a mapping with the name of the resource and its identifier in the PAK file.
It requires additional dependencies in the content from ui_resources.gyp:ui_resources and simple handler in web_url_loader_impl.cc.
For example chrome://settings loads the 46 subresources, whose downloading can be optimized.What do you think about this optimization?
On Tue, Jun 21, 2016 at 12:26 PM, Egor Pasko <pa...@google.com> wrote:I don't think pak files are available to renderers on android, though haven't checked recently. Having two codepaths - not such great.
Do you have a benchmark reflecting some real world usecase? It seems the optimization can potentially save less than 100ms, but webui is not used that often and may be not worth the complexity. Quick experiments would be good to make your case more convincing.
Note that 100ms absolutely does matter, Web UI needs to be a good example of RAIL. :)
That said, I'd really rather we didn't add hacks specific to Web UI. If resource loading is "too slow" we need to fix it for all web pages. The less special Web UI is the better.
- E