Closed Bug 1488406 Opened 8 years ago Closed 7 years ago

Allow finish() to measure in seconds n addition to ms

Categories

(Toolkit :: Telemetry, enhancement, P2)

enhancement
Points:
2

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: miker, Assigned: miker)

References

Details

Attachments

(1 file)

At the moment we are forced to clone `devtools/client/shared/TelemetryStopwatch.jsm` so that we can get it working the way we need. The problem is that it measure time in ms when using start() finish() etc. and that creates too many entries in our charts and makes them next to impossible to read. It would be much better if we could measure the time in seconds instead.
Summary: Consider suppressing Environment changes when the values in the Environment don't change → Allow finish() to measure in seconds n addition to ms
At the moment we are forced to clone `devtools/client/shared/TelemetryStopwatch.jsm` so that we can get it working the way we need. The problem is that it measure time in ms when using start() finish() etc. and that creates too many entries in our charts and makes them next to impossible to read. It would be much better if we could measure the time in seconds instead.
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
I can review this, i'd just like to settle the conversation in bug 1488363 first so i understand the needs here better.
Blocks: 1488363
Attachment #9006238 - Flags: review?(gfritzsche)
Mike, can you move the review here to janerik (jrediger)?
Flags: needinfo?(mratcliffe)
Flags: needinfo?(mratcliffe)
Attachment #9006238 - Flags: review?(gfritzsche) → review?(jrediger)
Attachment #9006238 - Flags: review?(jrediger) → review+
Pushed by mratcliffe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd094f46a5eb Allow finish() to measure in seconds n addition to ms r=janerik
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: