Closed
Bug 1972405
Opened 1 year ago
Closed 11 months ago
20ms in GetGeolocationPermissionBehavior(), calling GetWifiControlAccess() twice
Categories
(Core :: DOM: Geolocation, enhancement)
Core
DOM: Geolocation
Tracking
()
RESOLVED
FIXED
142 Branch
| Tracking | Status | |
|---|---|---|
| firefox142 | --- | fixed |
People
(Reporter: mstange, Assigned: gstoll)
References
Details
Attachments
(1 file)
This profile from Mayank shows 20ms spent on the parent process main thread querying Wifi access permissions: https://share.firefox.dev/4e5TfqV
For a single call to GetGeolocationPermissionBehavior() we appear to call GetWifiControlAccess() twice. We could probably reduce the time to 10ms by calling GetWifiControlAccess() only once.
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → gstoll
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•1 year ago
|
||
Per Mayank's investigation, each call to GetWifiControlAccess() can
take ~10ms.
Pushed by gstoll@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2ebe4004478f
https://hg.mozilla.org/integration/autoland/rev/5ba11a195535
avoid calling GetWifiControlAccess() multiple times r=handyman
Comment 3•11 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•11 months ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•