Closed
Bug 1200169
Opened 9 years ago
Closed 9 years ago
We should make the AddonWatcher more tolerant
Categories
(Toolkit :: Performance Monitoring, defect)
Toolkit
Performance Monitoring
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: Yoric, Assigned: Yoric)
References
Details
Attachments
(1 file)
If we decide to release the AddonWatcher, we should make sure that, at first, it only flags add-ons that are behaving very, very poorly.
Assignee | ||
Comment 1•9 years ago
|
||
Actually, looks like it's quite tolerant enough already.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 2•9 years ago
|
||
After discussing with avih, we concluded that we should do this nevertheless.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Comment 3•9 years ago
|
||
New strategy:
- if jank is above freezeThreshold (e.g. 5 seconds), report immediately; otherwise
- if jank is below jankThreshold (e.g. 128ms), disregard; otherwise
- if the latest jank was more than prescriptionDelay (e.g. 5 minutes) ago, reset number of occurrences;
- if we have had fewer than occurrencesBetweenAlerts janks (e.g. 3) since last alert, disregard; otherwise
- if we have displayed an alert for this add-on less than delayBetweenAlerts ago (e.g. 6h), disregard; otherwise
- also, don't report more than highestNumberOfAddonsToReport (e.g. 1) at once.
In the long term, I'd like to display only in case of freezes, and let a better UX handle the rest, most likely at startup or once per session.
Assignee | ||
Comment 4•9 years ago
|
||
Bug 1200169 - Making the slow add-on watcher more tolerant;r?felipe
Showing alerts more than once is annoying for the user and basically
useless. We therefore change a bit our strategy:
- if an add-on has behaved correctly for the last 5 minutes, reset our counter of offences;
- don't display alerts for an add-on more than once per 6 hours.
The only exception is if the add-on freezes the browser (i.e. causes
it to stop for more than 5 seconds at a time), in which case we
display the alert regardless of past offences, up to once per 10
minutes.
Attachment #8698390 -
Flags: review?(felipc)
Comment 5•9 years ago
|
||
Comment on attachment 8698390 [details]
MozReview Request: Bug 1200169 - Making the slow add-on watcher more tolerant;r=felipe
https://reviewboard.mozilla.org/r/27967/#review25483
Attachment #8698390 -
Flags: review?(felipc) → review+
I had to back this out for making browser_AddonWatcher.js permafailing: https://hg.mozilla.org/integration/mozilla-inbound/rev/27729c6262ee
https://treeherder.mozilla.org/logviewer.html#?job_id=19285089&repo=mozilla-inbound
Flags: needinfo?(dteller)
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8698390 [details]
MozReview Request: Bug 1200169 - Making the slow add-on watcher more tolerant;r=felipe
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/27967/diff/1-2/
Attachment #8698390 -
Attachment description: MozReview Request: Bug 1200169 - Making the slow add-on watcher more tolerant;r?felipe → MozReview Request: Bug 1200169 - Making the slow add-on watcher more tolerant;r=felipe
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dteller
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•