Closed
Bug 1252481
Opened 9 years ago
Closed 9 years ago
Remove "sum_squares_lo" and "sum_squares_hi" from Histogram serialization
Categories
(Toolkit :: Telemetry, defect, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla48
People
(Reporter: gfritzsche, Assigned: malayaleecoder, Mentored)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [measurement:client] [lang=js])
Attachments
(1 file, 1 obsolete file)
11.37 KB,
patch
|
gfritzsche
:
review+
|
Details | Diff | Splinter Review |
We don't use the "sum_squares_lo" and "sum_squares_hi" properties anywhere in the aggregator or other analysis code that i know of.
We should just remove those properties:
https://dxr.mozilla.org/mozilla-central/search?q=regexp%3A(sum_squares_lo|sum_squares_hi)&case=true
Assignee | ||
Comment 1•9 years ago
|
||
Hello Georg,
I tried to ask a doubt in #telemetry regarding this Bug and I did not get a response. So I am submitting a patch with reference to what you have said in comment#1. BTW I could not build the code and see after the changes have been made. Please have a look and suggest further improvements.
Flags: needinfo?(gfritzsche)
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8725421 [details] [diff] [review]
Bug1252481_v1.diff
Review of attachment 8725421 [details] [diff] [review]:
-----------------------------------------------------------------
This looks promising.
Before full review, you should make sure that:
1) this builds properly on your machine
2) that the tests pass, using: ./mach toolkit/components/telemetry/tests/unit/
::: toolkit/components/telemetry/Telemetry.cpp
@@ -1242,2 @@
>
> if (h->histogram_type() != Histogram::HISTOGRAM) {
We should remove this whole section, it only prepares data for sum_squares_lo/_hi below.
Attachment #8725421 -
Flags: feedback+
Reporter | ||
Comment 3•9 years ago
|
||
If you have problems building you could ask for help with that in #introduction or #telemetry or drop me a mail.
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 4•9 years ago
|
||
Georg, Currently self assigning this. Will fix this within a day or two and submit an updated patch. Hope it won't be a problem.
Assignee: nobody → malayaleecoder
Status: NEW → ASSIGNED
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 6•9 years ago
|
||
Georg, have done the said changes. The build was a success locally. Sorry for the delay. Please have a look :)
Attachment #8725421 -
Attachment is obsolete: true
Attachment #8729673 -
Flags: review?(gfritzsche)
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8729673 [details] [diff] [review]
Bug1252481_v2.diff
Review of attachment 8729673 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good, thanks!
I realized that now the backing code for sum_squares in histogram.cc/.h is not needed anymore, but we can remove that over in bug 1256366.
Attachment #8729673 -
Flags: review?(gfritzsche) → review+
Reporter | ||
Comment 8•9 years ago
|
||
I built & ran the tests successfully locally and don't expect any fallout, so this should be fine to check in.
Keywords: checkin-needed
Keywords: checkin-needed
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•