Closed Bug 2096426 Opened 4 days ago Closed 3 days ago

Avoid SearchSERPTelemetry.observeActivity dispatching to the main thread when there's no channel browser

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Keywords: perf, Whiteboard: [sng])

Attachments

(1 external file)

Whilst reviewing bug 2093747, I noticed that we get the browser for the channel in SearchSERPTelemetry.observeActivity prior to dispatching to the main thread. However, once we have dispatched, we do a few things and then if the browser is undefined, we return as we can't get the SERP item data. Hence, we should be able to split that out and avoid the dispatch in some cases.

Pushed by rjesup@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/900d588e8d05 https://hg.mozilla.org/integration/autoland/rev/642ea9e889f8 Avoid SearchSERPTelemetry.observeActivity dispatching to the main thread when there's no channel browser. r=search-reviewers,daleharvey
Status: ASSIGNED → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
QA Whiteboard: [search][qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: