Open Bug 1496235 Opened 7 years ago Updated 1 year ago

Call browser.deprioritize() on the preloaded browser after it has been created

Categories

(Firefox :: New Tab Page, enhancement, P3)

enhancement

Tracking

()

Performance Impact low
Tracking Status
firefox63 --- wontfix
firefox64 --- affected

People

(Reporter: mconley, Unassigned)

Details

(Keywords: perf:resource-use, perf:responsiveness)

This will lower the process priority of the preloaded browser[1] on Windows when the background process priority manager is enabled. Once the tab is opened and brought to the foreground, we'll need to make sure we up its priority again so that it paints in time. I _think_ we get this last part for free because of this: https://searchfox.org/mozilla-central/rev/3c85ea2f8700ab17e38b82d77cd44644b4dae703/dom/ipc/TabParent.cpp#2882 [1]: https://github.com/mozilla/activity-stream/blob/2076b6d27823afbdeef4abcfc0efe79a40acd13b/lib/ActivityStreamMessageChannel.jsm#L255 and https://searchfox.org/mozilla-central/rev/3c85ea2f8700ab17e38b82d77cd44644b4dae703/browser/base/content/tabbrowser.js#1763-1795
Whiteboard: [fxperf]
Whiteboard: [fxperf] → [fxperf:p2]
Severity: normal → enhancement
Iteration: --- → 64.1 (Sep 14)
Priority: -- → P2
Iteration: 64.1 (Sep 14) → 64.3 (Oct 12)
Iteration: 64.3 (Oct 12) → 65.1 (Nov 2)
Iteration: 65.1 (Nov 2) → 65.2 (Nov 16)
Iteration: 65.2 (Nov 16) → 65.3 (Nov 30)
Iteration: 65.3 (Nov 30) → 66.1 - Dec 10-23
Iteration: 66.1 - Dec 10-23 → ---
Priority: P2 → P3
Whiteboard: [fxperf:p2] → [fxperf:p3]
Component: Activity Streams: Newtab → New Tab Page
Severity: normal → S3
Performance Impact: --- → low
Whiteboard: [fxperf:p3]
You need to log in before you can comment on or make changes to this bug.