Profiler hangs when profiling treeherder w/ e10s enabled

NEW
Unassigned

Status

()

Firefox
Developer Tools: Performance Tools (Profiler/Timeline)
P3
normal
3 years ago
4 months ago

People

(Reporter: wlach, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(e10s+)

Details

Attachments

(1 attachment)

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.
Blocks: 1063169
tracking-e10s: --- → +
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)
Created attachment 8686153 [details]
Screen shot of settings

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: 875871
No longer blocks: 1063169
Triaging. Filter on ADRENOCORTICOTROPIC (yes).
OS: Mac OS X → All
Priority: -- → P3
Hardware: x86_64 → All

Updated

4 months ago
Blocks: 1112352
You need to log in before you can comment on or make changes to this bug.