Closed Bug 1206914 Opened 9 years ago Closed 6 years ago

Profiler hangs when profiling treeherder w/ e10s enabled

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Unassigned)

References

Details

Attachments

(1 file)

STR: Load treeherder.mozilla.org on the latest nightly w/ e10s enabled. Run profile. Stop profiling. Firefox will beachball indefinitely. Other sites do not seem to do this.
Should clarify that I reproduced this specifically on Mac, haven't tried on Linux or Windows.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Version: unspecified → Trunk
Just talked to wlach, and he said that this was from the Developer Tools Profiler.
Component: Gecko Profiler → Developer Tools: Performance Tools (Profiler/Timeline)
Product: Core → Firefox
I can easily reproduce this on a treeherder page. STR: 1) Visit https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound 2) Open the Developer Tools for the page, and choose the Performance tab 3) Click on the stopwatch in the top left to start profiling 4) Scroll around for a few seconds, and then hit "Stop Profiling" to gather the profile 5) Watch your machine get hosed ER: I should eventually get a profile, or at least some kind of feedback that a profile is being gathered. AR: Main-process beach-balling, and the whole browser becomes unresponsive. I only tested this with e10s enabled, but I can't imagine that this would be any more performant with it disabled.
cc'ing :BenWa - I suspect that this might be back-end related, though I can't say for sure. Still, I felt that since this was reproduced via the Developer Tools Performance tab that this is the right component for now. I'll note that in the STR in comment 3, that after a few minutes, I saw a few things start to render (albeit in a very janky way) - like, mouse events were being responded to, but they were few and far between. So maybe what we've got here is bad performance with our Performance tooling. :/
I know fitzgen was using treeherder to dogfood the performance tools. In the gear options in the upper right corner, what options are enabled? There are a few of them that can be very unperformant (mostly related to recording memory, and allocations can get a little slow right now). I suspect it's generating a lot of markers and the waterfall view hangs on rendering a large amount (a few bugs open for this, but bug 1152441 is one of them)
Attached image Screen shot of settings (deleted) —
Here are the settings enabled when the hang occurs. Still reproducible on the latest Nightly.
This is really weird, it looks like most of the functions aren't properly symbolicated in that profile, which unfortunately makes it mostly unusable. Will, sorry to bug you again, but would you mind profiling once more with instruments?
Flags: needinfo?(wlachance)
(In reply to Nick Fitzgerald [:fitzgen][:nf] from comment #8) > This is really weird, it looks like most of the functions aren't properly > symbolicated in that profile, which unfortunately makes it mostly unusable. > > Will, sorry to bug you again, but would you mind profiling once more with > instruments? Told this wasn't necessary on irc.
Flags: needinfo?(wlachance)
Blocks: dte10s
No longer blocks: e10s-perf
Triaging. Filter on ADRENOCORTICOTROPIC (yes).
OS: Mac OS X → All
Priority: -- → P3
Hardware: x86_64 → All
Blocks: 1112352
Product: Firefox → DevTools
This works now, fwiw. No idea why, don't care. :)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: