On 30/09/2013 2:48 PM, Jim Chen wrote:
So far I looked at the main thread hang monitor [1], but it seems to
make a lot of assumptions about the main thread. I think it would make
sense to have a separate, generic hang monitor that can monitor
multiple other threads.

I like the idea, but with Benjamin's caveats

The hang monitor would then relay
counts/histogram of hangs to telemetry. It would be even better if we
can get stacks.

Getting stacks will not be difficult, you can use the same infrastructure as the chrome-hang reporter.

Are you interested in permanent hangs or transient hangs? You'll have to make sure the browser can still exit properly when the hangs you're interested occur, otherwise Telemetry might not get a chance to write down the hang info to disk at session exit and it will never get reported.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to