Open Bug 1754100 Opened 2 years ago

When filtering with "pid:<content process id>", try not to run the sampler thread in the parent process

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mozbugz, Unassigned)

References

Details

Thanks to bug 1735397, if the thread-filter string only contains items with "pid:...", the profiler does not even start in other processes (to avoid wasting resources), except in the parent process where it always runs.

This was simpler to implement, and the main cost was coming from having many processes running their profiler, especially with Fission.
Removing that one extra process was a smaller benefit, against the implementation cost of preventing the profiler in the parent process from running.
But it would still be nice to try, if possible.

You need to log in before you can comment on or make changes to this bug.