Closed
Bug 1474208
Opened 6 years ago
Closed 6 years ago
Use median process value for AWSY base tests
Categories
(Testing :: AWSY, defect)
Testing
AWSY
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
Details
Attachments
(1 file)
There's always one content process in every base session that uses a lot more memory than the others. That leads to extreme bi-modal numbers that break our regression alerts for anything under a few hundred K. Since we only really care about the overhead of the average base process, the extra overhead of that first process doesn't really matter. We eat it once per session, not once per process. It's a good case for the regular AWSY suite. Taking the median value of all content processes makes that problem go away, and also increases the odds of us getting stable numbers that we can more easily spot regressions in.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8990611 [details] Bug 1474208: Use median of all process values for AWSY base content. https://reviewboard.mozilla.org/r/255670/#review262646 Looks good, I'd just like to cleanup the old `count` logic. We talked about possibly adding a measurement for the max as well, at most that should be a follow up if we want to do it at all. ::: testing/awsy/awsy/process_perf_data.py:41 (Diff revision 1) > + sorted_ = sorted(values) > + med = int(len(sorted_) / 2) > + > + if len(sorted_) % 2: > + return sorted_[med] > + return (sorted_[med - 1] + sorted_[med]) * 0.5 Lets wrap this in an `int`. ::: testing/awsy/awsy/process_perf_data.py:96 (Diff revision 1) > total = 0 > for checkpoint in checkpoints: > memory_report_path = os.path.join(data_path, checkpoint['path']) > > name_filter = checkpoint.get('name_filter', None) > count = checkpoint.get('count', 0) `count` was a hack to roughly support this, we can remove that now.
Attachment #8990611 -
Flags: review?(erahm) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8990611 [details] Bug 1474208: Use median of all process values for AWSY base content. https://reviewboard.mozilla.org/r/255670/#review262646 > Lets wrap this in an `int`. Switched from `* 0.5` to `/ 2` which automatically returns an int when its LHS is an int.
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8990611 [details] Bug 1474208: Use median of all process values for AWSY base content. https://reviewboard.mozilla.org/r/255670/#review262712
Attachment #8990611 -
Flags: review?(erahm) → review+
Assignee | ||
Comment 6•6 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8504c0085847c091aec4268699c6eeb23356c58c Bug 1474208: Use median of all process values for AWSY base content. r=erahm
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8504c0085847
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•