Closed
Bug 1256366
Opened 9 years ago
Closed 9 years ago
Remove linear and exponential stats collection from histogram.cc
Categories
(Toolkit :: Telemetry, defect, P4)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: gfritzsche, Assigned: malayaleecoder, Mentored)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [measurement:client] [lang=c++])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
gfritzsche
:
review+
jseward
:
feedback+
|
Details | Diff | Splinter Review |
Bug 1252481 removes the "sum_squares_lo" and "sum_squares_hi" properties from Telemetry.
Without those, the additional stats collection in histogram.cc actually never gets used.
This is basically all the additional code that was added here:
https://hg.mozilla.org/mozilla-central/rev/4e8386f13286
To verify this did not break anything, we should run the tests using:
mach test toolkit/components/telemetry/tests/unit
Reporter | ||
Comment 1•9 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] from comment #0)
> Without those, the additional stats collection in histogram.cc actually
> never gets used.
> This is basically all the additional code that was added here:
> https://hg.mozilla.org/mozilla-central/rev/4e8386f13286
To add a bit of detail:
For histogram.h & histogram.cc, we can:
* drop all the sum_squares, log_sum, log_sum_squares occurrences and their calculations
* we don't need AccumulateWithLinearStats(), we can just use Accumulate() directly
* note that current code looks a bit difference now than in the revision linked above
Reporter | ||
Comment 2•9 years ago
|
||
malayaleecoder, are you interested in taking this follow-up bug to bug 1252481?
Flags: needinfo?(malayaleecoder)
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → malayaleecoder
Reporter | ||
Comment 4•9 years ago
|
||
Hey malayaeecoder, did you have success working on this?
Let me know if you're stuck, i'm happy to help.
Flags: needinfo?(malayaleecoder)
Assignee | ||
Comment 5•9 years ago
|
||
Hello Georg,
Please have a look at the patch. I smell something wrong even though the build went through fine.
Flags: needinfo?(malayaleecoder) → needinfo?(gfritzsche)
Assignee | ||
Comment 6•9 years ago
|
||
Please ignore the previous patch.
Attachment #8737700 -
Attachment is obsolete: true
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8737701 [details] [diff] [review]
Bug1256366_v1.diff
Review of attachment 8737701 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me, thanks!
Julian, would you mind taking a quick look at the mutex usage for correctness?
Attachment #8737701 -
Flags: review+
Attachment #8737701 -
Flags: feedback?(jseward)
Comment 8•9 years ago
|
||
Comment on attachment 8737701 [details] [diff] [review]
Bug1256366_v1.diff
Review of attachment 8737701 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, that looks fine to me. Does not look as if it will change the locking
situation at all.
Attachment #8737701 -
Flags: feedback?(jseward) → feedback+
Reporter | ||
Comment 9•9 years ago
|
||
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 10•9 years ago
|
||
Georg the try push seems good. Adding checkin-needed , hope it is fine.
Comment 11•9 years ago
|
||
Keywords: checkin-needed
Comment 13•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•