Startup default browser check causes mainthread IO on Linux
Categories
(Firefox :: Shell Integration, defect, P3)
Tracking
()
People
(Reporter: Gijs, Unassigned)
References
(Blocks 2 open bugs)
Details
(4 keywords)
Unsure where this fits in the startup timeline because it was found through strace, as the IO is hidden to our profiler on Linux because it happens inside gtk libraries.
On my VM, calls to g_app_info_get_default_for_uri_scheme
stats (and presumably, also reads some of?) nearly 30 files.
Fixing this probably means running some of this code off the main thread and using a promise or other async construct for our "is this the default browser" interface, and updating the consumers.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Comment 1•1 years ago
|
||
The Performance Impact Calculator has determined this bug's performance impact to be low. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.
Impact on browser: Causes noticeable startup delay
Websites affected: Rare
[x] Able to reproduce locally
Description
•