Closed
Bug 1157870
Opened 11 years ago
Closed 11 years ago
Performance Groups should have a unique id
Categories
(Toolkit :: Performance Monitoring, defect)
Toolkit
Performance Monitoring
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: Yoric, Assigned: Yoric)
References
Details
Attachments
(2 files)
Right now, we have bugs such as bug 1151240 because we don't have a reliable way of checking whether two instances of PerformanceData are attached to the same piece of code. We need to fix this.
| Assignee | ||
Updated•11 years ago
|
| Assignee | ||
Comment 1•11 years ago
|
||
Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Attachment #8614816 -
Flags: review?(jdemooij)
| Assignee | ||
Comment 2•11 years ago
|
||
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review?(dtownsend)
Comment 3•11 years ago
|
||
Comment on attachment 8614816 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
https://reviewboard.mozilla.org/r/9829/#review8961
r=me with nits addressed.
::: js/src/vm/Runtime.cpp:964
(Diff revision 1)
> + : stopwatch_(nullptr)
> + , iteration_(0)
> + , uid(JS_GetRuntime(cx)->stopwatch.uniqueId())
> + , key_(key)
> + , refCount_(0)
Nit: indent these 5 lines with 2 instead of 4 spaces.
::: js/src/vm/Runtime.h:1617
(Diff revision 1)
> + uint64_t idCounter_;
This value should be initialized to 0 in the Stopwatch constructor.
::: js/src/vm/Runtime.cpp:966
(Diff revision 1)
> + , uid(JS_GetRuntime(cx)->stopwatch.uniqueId())
Inside JS, you can use cx->runtime() instead of JS_GetRuntime.
Attachment #8614816 -
Flags: review?(jdemooij) → review+
Comment 4•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
https://reviewboard.mozilla.org/r/9831/#review8987
Ship It!
Attachment #8614817 -
Flags: review?(dtownsend) → review+
| Assignee | ||
Updated•11 years ago
|
Attachment #8614816 -
Flags: review+ → review?(jdemooij)
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8614816 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review+ → review?(dtownsend)
Comment 7•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
https://reviewboard.mozilla.org/r/9831/#review9021
Ship It!
Attachment #8614817 -
Flags: review?(dtownsend) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8614816 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Attachment #8614816 -
Flags: review?(jdemooij)
| Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review+
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dteller
| Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review?(dtownsend)
| Assignee | ||
Updated•11 years ago
|
Attachment #8614817 -
Flags: review?(dtownsend)
| Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
| Assignee | ||
Comment 12•11 years ago
|
||
Keywords: checkin-needed
| Assignee | ||
Updated•11 years ago
|
Attachment #8614816 -
Flags: review?(jdemooij)
| Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 8614816 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
| Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review?(dtownsend)
| Assignee | ||
Comment 16•11 years ago
|
||
Keywords: checkin-needed
Comment 17•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6a0397d889c9
https://hg.mozilla.org/integration/fx-team/rev/819d7887fdc4
Keywords: checkin-needed
Comment 18•11 years ago
|
||
Backed out for frequent e10s browser_compartments.js failures.
https://treeherder.mozilla.org/logviewer.html#?job_id=3459607&repo=fx-team
https://hg.mozilla.org/integration/fx-team/rev/d6e9eea07a71
Comment 19•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
https://reviewboard.mozilla.org/r/9831/#review9763
Ship It!
Attachment #8614817 -
Flags: review?(dtownsend) → review+
| Assignee | ||
Updated•11 years ago
|
Attachment #8614816 -
Flags: review?(jdemooij)
| Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 8614816 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
Bug 1157870 - Performance Groups should have a unique ID (low-level);r=jandem
| Assignee | ||
Comment 21•11 years ago
|
||
Comment on attachment 8614817 [details]
MozReview Request: Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Bug 1157870 - Performance Groups should have a unique ID (high-level);r=mossop
Attachment #8614817 -
Flags: review+
| Assignee | ||
Comment 22•11 years ago
|
||
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 23•11 years ago
|
||
Well, Try looks good even when you repeat the right tests :)
Keywords: checkin-needed
Comment 24•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/8156f7d328a7
https://hg.mozilla.org/integration/fx-team/rev/7af2df7da870
Keywords: checkin-needed
Comment 25•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8156f7d328a7
https://hg.mozilla.org/mozilla-central/rev/7af2df7da870
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•