--
--
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.
What does the system you're building do?
If your task is critical for the user experience it might be possible to do something to expedite it's processing, a bit like what the MainThreadInputEventFilter does. We need to be careful about how widely techniques like that are used, because if everything is high priority then nothing is :)
Thanks for the reply.What does the system you're building do?I am trying to make some browser modifications to enable forensic analysis for security purposes. A part of this is taking the snapshot of the DOM while the input event is queued up in the browser. Specifically, for this, I am passing a "FrameMsg_SerializeAsMHTML" IPC message (from browser to the renderer) and hoping to get it handled as quickly as possible.When there is no loading activity going on this task seems to be executed pretty quickly. But when there is loading activity, I saw that this task can get delayed by as much as 1 or 2 seconds.
If your task is critical for the user experience it might be possible to do something to expedite it's processing, a bit like what the MainThreadInputEventFilter does. We need to be careful about how widely techniques like that are used, because if everything is high priority then nothing is :)Thanks for this pointer. I am able to intercept the IPC message using InputEventFilter. But the handling of that IPC Message involves execution of the RenderFrameImpl::OnSerializeAsMHTML function which can only be run on main thread.
So, I cannot post a task to do this using the compositor task runner like the InputEventFilter does.
Can you please mention what task runners (other than the main_task_runner) are dedicated to the Main thread. Is there a task runner whose priority is more than the priority than the task runner for the loading tasks? This will enable us to get the "OnSerializeAsMHTML" function executed before the loading tasks / network requests.
Also, which is the task runner that currently runs the loading tasks / network requests (I am confused between NewLoadingTaskRunner or the LoadingTaskRunner)
Alex, thanks for all this great information.You mentioned an ongoing project to build a headless chrome. Is there any public document that outlines the approach and steps that will be taken to get this done? (similar to the docs you guys wrote related to the Blink/Renderer scheduler architecture: https://goo.gl/Rhv3yB).