As of https://github.com/servo/servo/pull/10694, you can dump the profiling
data from the `components/profile/time.rs` module as a timeline in a self
contained HTML file that is easy to share/upload/etc.

Usage:

    $ ./mach run -r -p 5 --profiler-trace-path ~/output.html
https://reddit.com/

More info/docs here:
https://github.com/servo/servo/wiki/Profiling#generating-timelines

Screenshot:
https://camo.githubusercontent.com/44afcc7af5e12f5f14726d26b0ec975c19da6e47/687474703a2f2f692e696d6775722e636f6d2f4f6857736d386d2e706e67

Live example:
http://media.fitzgeraldnick.com/dumping-grounds/trace-reddit.html

My hope is that this will be a useful tool to visualize where time is spent
at a high level over time.

Cheers!
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to