Just a heads up that there have been recent developments with regards to
gathering SPS profiles from multiple processes.

Bug 1103094[1] recently landed in mozilla-central, which makes it so that
if a subprocess starts up _after_ profiling has already been started in the
parent, then the subprocess will start profiling as well using the same
features and settings as the parent.

Bug 1193838[2], which is still on inbound, will make it so that if we are
profiling while a process exits, we will hold onto that profile until the
profiles are all requested by the parent process for analysis. Right now we
hold these "exit profiles" in a circular buffer that's hardcoded at an
arbitrary limit of 5 profiles.

The upshot is that in many cases, if you start profiling, you'll not lose
any profiles for subprocesses that start or finish before you choose to
analyze the profiles. \o/

Just wanted to point those out. Thanks to BenWa for the reviews! Happy
profiling,

-Mike

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1103094
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1193838
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to