[macOS 10.15] High CPU utilization with many restored minimized windows
Categories
(Firefox :: Session Restore, defect)
Tracking
()
People
(Reporter: haik, Unassigned)
Details
Attachments
(1 file)
|
8.23 KB,
text/html
|
Details |
On macOS 10.15 Beta 7 (19A546d), I've noticed that with several windows minimized to the dock, when Firefox is restarted (with "Restore previous session" enabled), the Firefox parent process ("firefox") has very high CPU utilization. In my testing, the load was at least 40% for several minutes. For the tests below, I have ~50 windows minimized with each window having one tab with a static HTML file opened from ~/Desktop/basic.html. I first noticed this problem after restarting with ~10 windows minimized.
I have not tested on 10.14 or earlier releases.
Steps to reproduce:
- Open 50 windows each with a single tab with the attached basic.html file loaded via file:/// from the filesystem
- Minimize each window, leaving 1 remaining window
- Enable "Restore previous session" in Firefox's preferences
- Quit Firefox
- Start Firefox
- Check the CPU utilization of the firefox parent process (using
$ top -o cpu).
Profiles collected:
- https://perfht.ml/2ZONiqQ (after startup with ~50 windows minimized)
- https://perfht.ml/2ZUqKVx (a second profile collected a few minutes later)
- https://perfht.ml/2ZVHdZI (another instance of the problem after restarting the browser with ~50 minimized basic.html windows.)
After un-minimizing all ~50 minimized windows, %CPU utilization drops to 0%.
Comment 1•6 years ago
|
||
Duping this to Bug 1580117, as it appears this was duplicated when the bug was submitted.
Description
•