Closed
Bug 615391
Opened 14 years ago
Closed 14 years ago
Show performance warnings
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
5.12.5
People
(Reporter: clouserw, Assigned: potch)
Details
Couple of tweaks for the performance warnings: 1) In the code you look for settings.PERFORMANCE_WARNINGS but settings.py has PERFORMANCE_NOTES. We probably don't need either at this point. 2) "15:50 <potch> I just looked and I'm not actually geting the data from the db right now" -- there is some test data in the db now on PAMO. Rows with no add-on id are the baseline numbers. I hardcoded them at 200ms for purposes of our testing. 3) Fligtar says that if any spread is more than 20% we should show it on the page. The numbers here are different per OS, but regardless of user-agent's OS, we should show the warning if any OS on our end if more than 20%.
Assignee | ||
Comment 1•14 years ago
|
||
Where will this number come from? Will the value be hung on the addon object? It would be awesome if there was just a single number I could look at- the % that will be displayed.
Reporter | ||
Comment 2•14 years ago
|
||
Values are in the perf_results table right now. Jbalogh, can you get potch what he needs here?
Comment 3•14 years ago
|
||
potch: you want the 860% slower number? So Addon.slowness => 860?
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > potch: you want the 860% slower number? So Addon.slowness => 860? yup.
Updated•14 years ago
|
Assignee: thepotch → jbalogh
Comment 5•14 years ago
|
||
http://github.com/jbalogh/zamboni/commit/3e454d4 Get the goods at Addon.ts_slowness. Run `django cron update_perf` to get some data. If you have perf_results data.
Assignee: jbalogh → thepotch
Comment 6•14 years ago
|
||
Also, these warnings should only show up on /firefox, and please change "your browser" to "Firefox" in both places of the warning. "Learn more" doesn't need to be forced onto a separate line and please lowercase "More"
Comment 7•14 years ago
|
||
btw, is there somewhere I can look at this data before we start showing these all over the place?
Reporter | ||
Comment 8•14 years ago
|
||
PAMO has a few results, see perf_results for the ids. For the Q4 goal I suspect we'll need alice to manually inject the results to the db for the add-ons she's been generating reports for in the past. We've hit some slowness on the hardware/security front for the fully automated setup.
Comment 9•14 years ago
|
||
I checked out the results on preview and they're pretty incomplete. I'd like to review the actual results before we push this feature live. If there are tons of impacted add-ons, we may want to raise our threshold initially and email the developers to give them a month or so to get their results down before we lower the threshold again.
Reporter | ||
Comment 10•14 years ago
|
||
The numbers are not accurate yet (extremes aren't thrown out, for one thing). That said, potch, can you give us a flag in settings.py to show these or not? Thanks.
Assignee | ||
Comment 11•14 years ago
|
||
http://github.com/jbalogh/zamboni/commit/98b532d
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 12•14 years ago
|
||
Re-opening for comment #6
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•14 years ago
|
||
https://github.com/jbalogh/zamboni/commit/0d725c9
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•