Closed Bug 988023 Opened 10 years ago Closed 10 years ago

telemetry on how often we hit search service synchronous fallback

Categories

(Firefox :: Search, defect)

29 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 32

People

(Reporter: Gavin, Assigned: rvitillo)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Bug 722332 added an async initialization to the search service that avoids main thread IO, and most big consumers have been moved over to it (apart from the remaining ones tracked in bug 987715). Bug 987715 suggests that we still do a bunch of search service-related main thread I/O, though, so it's possible many add-ons are causing us to hit this path (or we forgot to update a consumer somewhere).

Some telemetry that measures how often the synchronous fallback is hit would be useful.

http://hg.mozilla.org/mozilla-central/annotate/c69c55582faa/toolkit/components/search/nsSearchService.js#l2899
Flags: firefox-backlog+
Assignee: nobody → rvitillo
Comment on attachment 8421076 [details] [diff] [review]
telemetry on how often we hit search service synchronous fallback, v1

don't see much point to the "telemetry" temp variable, just inline the reference to Services.telemetry?

Thanks!
Attachment #8421076 - Flags: review?(gavin.sharp) → review+
https://hg.mozilla.org/mozilla-central/rev/2ef4f2ba78b4
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: