Closed
Bug 1150295
Opened 10 years ago
Closed 9 years ago
Show which frames have optimization data in profiler
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(1 file)
17.38 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
This was contentious, so holding off until we get more data.
Assignee | ||
Comment 1•9 years ago
|
||
Has there been any further thought on what could be shown (if JIT-mode on) on frames in the call tree that have optimization data?
Comment 2•9 years ago
|
||
The only thing that needs to be shown here is an icon or emblem on the tree entry that takes us to the jit view. Basically "there's more detailed opt info about this frame, click on this to go to it".
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8624548 -
Flags: review?(vporof)
Comment 4•9 years ago
|
||
Comment on attachment 8624548 [details] [diff] [review]
1150295-opt-icon.patch
Review of attachment 8624548 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/performance/modules/widgets/tree-view.js
@@ +93,5 @@
> */
> function CallView({
> caller, frame, level, hidden, inverted,
> + sortingPredicate, autoExpandDepth, visibleCells,
> + enableOptimizations
I'd rename this to showOptimizationHint
::: browser/devtools/performance/views/details-js-call-tree.js
@@ +50,5 @@
> let options = {
> contentOnly: !PerformanceController.getOption("show-platform-data"),
> invertTree: PerformanceController.getOption("invert-call-tree"),
> + flattenRecursion: PerformanceController.getOption("flatten-tree-recursion"),
> + enableOptimizations: recording.getConfiguration().withJITOptimizations,
Should do those things with memory prefs too for hiding/showing graphs. Different bug, or has that been done already?
Attachment #8624548 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8624548 [details] [diff] [review]
1150295-opt-icon.patch
Review of attachment 8624548 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/performance/modules/widgets/tree-view.js
@@ +93,5 @@
> */
> function CallView({
> caller, frame, level, hidden, inverted,
> + sortingPredicate, autoExpandDepth, visibleCells,
> + enableOptimizations
+1
::: browser/devtools/performance/views/details-js-call-tree.js
@@ +50,5 @@
> let options = {
> contentOnly: !PerformanceController.getOption("show-platform-data"),
> invertTree: PerformanceController.getOption("invert-call-tree"),
> + flattenRecursion: PerformanceController.getOption("flatten-tree-recursion"),
> + enableOptimizations: recording.getConfiguration().withJITOptimizations,
I'm not sure I follow -- all views use currently selected recording's features to determine what to display
Assignee | ||
Comment 6•9 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 7•9 years ago
|
||
Rebase issue, landing hotfix
https://hg.mozilla.org/integration/fx-team/rev/a452ab15ac37
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/95dc0052f410
https://hg.mozilla.org/mozilla-central/rev/a452ab15ac37
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•