Closed
Bug 896783
Opened 11 years ago
Closed 9 years ago
Make IonSpewer and IonGraph output the branch profiling data for each MBasicBlock
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: wuwei, Assigned: wuwei)
References
Details
Attachments
(2 files)
2.70 KB,
patch
|
nbp
:
review+
|
Details | Diff | Splinter Review |
1017 bytes,
patch
|
Details | Diff | Splinter Review |
Bug 877878 introduces branch profiles for IonMonkey. The value of block counters collected by instrumenting baseline generated code will be copied to related MBasicBlocks after MIRGraph has been built. It might be good to print branch profiling data for each block, which makes subsequent analysis/debugging easier.
Assignee | ||
Comment 1•11 years ago
|
||
This patch let JSONSpewer outputs block counters for each MBasicBlock and LBlock. It depends on bug 877878.
Attachment #780882 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Comment 2•11 years ago
|
||
This patch let IonGraph show block counters for each MBasicBlock and LBlock. This patch won't break IonGraph when branch profiles are unavailable. Since IonGraph is on github rather than mozilla, I also sent a pull request to sstangl (on github). This patch is for feedback only.
Attachment #780926 -
Flags: feedback?(sstangl)
Comment 3•11 years ago
|
||
Comment on attachment 780926 [details] [diff] [review] letIonGraphSeeBranchProfiles.patch Review of attachment 780926 [details] [diff] [review]: ----------------------------------------------------------------- Handling on Github (https://github.com/lazyparser/iongraph/commit/060bb40ad15f72130ad3b686506c0faf6ab3e1f3#commitcomment-3720687)
Attachment #780926 -
Flags: feedback?(sstangl)
Comment 4•11 years ago
|
||
Comment on attachment 780882 [details] [diff] [review] letIonSpewerSeeBranchProfiles.patch Review of attachment 780882 [details] [diff] [review]: ----------------------------------------------------------------- This patch is good to land, as soon as Bug 877878 patch is landed. ::: js/src/ion/JSONSpewer.cpp @@ +404,5 @@ > beginObject(); > integerProperty("number", bno); > + > + LBlock *lir = regalloc->graph.getBlock(bno); > + nit: remove trailing whitespace here.
Attachment #780882 -
Flags: review?(nicolas.b.pierron) → review+
Updated•10 years ago
|
Assignee: general → nobody
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → lazyparser
Assignee | ||
Comment 5•9 years ago
|
||
This bug was a supplement feature for bug 877878, which will not land.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•