Closed Bug 1168125 Opened 9 years ago Closed 9 years ago

Cleanup performance xul and css

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [polish-backlog])

Attachments

(3 files)

We have a lot of misplaced or dead code, and the xul file is terribly hard to follow now.

CONSOLIDATE.

THIS IS CAPTAIN PLANET.
Attached patch v1Splinter Review
Groups things logically together, both in the XUL and CSS file. Adds a few more comments. Removed dead CSS code.

The collapsible markers patch is very close I promise and it's beautiful.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8610144 - Flags: review?(jsantell)
Comment on attachment 8610144 [details] [diff] [review]
v1

Review of attachment 8610144 [details] [diff] [review]:
-----------------------------------------------------------------

If console recording messages are still fine, r+, but i think there'll be a problem with it

::: browser/devtools/performance/performance.xul
@@ +162,5 @@
>            </hbox>
>          </hbox>
> +
> +        <!-- "Console" notice, shown when a console recording is in progress -->
> +        <vbox id="console-recording-notice"

This should be a sibling of the other recording notices (in progress, loading, etc), no? How do we display the overview graphs at the same time with console recordings then?
Attachment #8610144 - Flags: review?(jsantell) → review+
Whoops, fixing.
Attached image panel-clipped.png
I'm seeing a regression with these patches applied in which the Performance panel is clipped off.  I haven't tracked it down further, but it goes away when I back them out locally
Flags: needinfo?(vporof)
It seems to be caused by be8c492b2431
Huuuuh.
Flags: needinfo?(vporof)
I don't see that.
(In reply to Victor Porof [:vporof][:vp] from comment #9)
> I don't see that.

Try running non-e10s - I can reproduce on a clean profile if that is switched off.
Attached patch e10somg.patchSplinter Review
It seems like this isn't needed anymore? Fixes things for me and the overview graphs are still resizable.
Attachment #8611019 - Flags: review?(bgrinstead)
Comment on attachment 8611019 [details] [diff] [review]
e10somg.patch

Review of attachment 8611019 [details] [diff] [review]:
-----------------------------------------------------------------

Fixes the problem for me.  Somehow the label is now wrapping normally now (it wasn't before)
Attachment #8611019 - Flags: review?(bgrinstead) → review+
Whiteboard: [devedition-40][fixed-in-fx-team]
See Also: → 1152421
https://hg.mozilla.org/mozilla-central/rev/bfc1a9444c76
https://hg.mozilla.org/mozilla-central/rev/be8c492b2431
https://hg.mozilla.org/mozilla-central/rev/67e5dc593871
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [devedition-40][fixed-in-fx-team] → [devedition-40]
Target Milestone: --- → Firefox 41
browser_timeline-waterfall-sidebar.js has been hitting frequent e10s timeouts since this landed, and now it's basically impossible to backout due to everything that's landed on top of it. I'm disabling the test for now until it can be fixed.

4718 INFO TEST-UNEXPECTED-FAIL | browser/devtools/performance/test/browser_timeline-waterfall-sidebar.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - expected PASS
Depends on: 1169257
Whiteboard: [devedition-40] → [polish-backlog]
Setting [qe-verify-] since this is already covered by automated testing.
Flags: qe-verify-
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: