Closed Bug 1972405 Opened 1 year ago Closed 11 months ago

20ms in GetGeolocationPermissionBehavior(), calling GetWifiControlAccess() twice

Categories

(Core :: DOM: Geolocation, enhancement)

enhancement

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: nobody → gstoll
Status: NEW → ASSIGNED

Per Mayank's investigation, each call to GetWifiControlAccess() can
take ~10ms.

Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: