vsync handling happens usually right after a task (per HTML spec).
Basically we have now two event queues with similar priority, and they are 
handled the same priority, but since
the other one is used very rarely, events added to it get processed on average 
sooner than the ones added to the normal queue.
(We can't starve the normal queue, so both need to be processed)

MemoryPressure seems to want to really processed before any new task, so the 
new system can't be used for that.


Looks like memory pressure works only on some platforms.

On 11/10/2016 03:25 PM, Gabriele Svelto wrote:
On 10/11/2016 00:22, smaug wrote:
Parent process doesn't yet have higher priority handling [2].
Need to fix racy tests first.
Locally using higher priority also in parent process seems to make tab
throbber smoother.

We have an ad-hoc mechanism for scheduling memory pressure event ahead
of all other pending tasks [1]. Do you think we could use this new
functionality to replace it? It would be nice to have this handled via a
generic mechanism too.

  Gabriele

[1]
https://dxr.mozilla.org/mozilla-central/rev/336759fad4621dfcd0a3293840edbed67018accd/xpcom/threads/nsThread.cpp#1444



_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to