servo/components
bors-servo b8e2fa58d6 Auto merge of #10694 - fitzgen:profile-traces-to-file, r=SimonSapin
Add a method for dumping profiles as self-contained HTML w/ timeline visualization

This commit adds the `--profiler-trace-path` flag. When combined with `-p` to
enable profiling, it dumps a profile as a self-contained HTML file to the given
path. The profile visualizes the traced operations as a Gantt-chart style
timeline.

Example output HTML file: http://media.fitzgeraldnick.com/dumping-grounds/trace-reddit.html

Mostly I made this because I wanted to see what kind of data the profiler has, and thought that this might be useful for others as well. I'm happy to add tests if we can figure out how to integrate them into CI, but I'm not sure how that would work.

Thoughts?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10694)
<!-- Reviewable:end -->
2016-04-28 02:47:35 -07:00
..
canvas Simplify TOML syntax 2016-04-26 23:51:36 +02:00
canvas_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
compositing Auto merge of #10862 - asajeffrey:only-the-chrome-survives, r=SimonSapin 2016-04-26 18:40:21 -07:00
devtools Simplify TOML syntax 2016-04-26 23:51:36 +02:00
devtools_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
gfx Auto merge of #10857 - servo:toml, r=nox 2016-04-26 15:46:37 -07:00
gfx_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
layout Avoid drawing while canvases without contexts. 2016-04-28 07:03:45 +08:00
layout_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
msg Remove superfluous end-of-file whitespace. 2016-04-27 00:26:37 -04:00
net Auto merge of #10869 - frewsxcv:dry, r=jdm 2016-04-27 04:23:34 -07:00
net_traits Add NetworkError::LoadCancelled variant. 2016-04-27 00:25:27 -04:00
plugins Simplify TOML syntax 2016-04-26 23:51:36 +02:00
profile Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
profile_traits Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
range Use num-traits in range. 2016-04-20 14:59:05 +02:00
script Remove extraneous script_chan parameter from Trusted::new 2016-04-28 10:52:44 +02:00
script_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
servo Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
style Auto merge of #10848 - heycam:struct-accessor, r=bholley 2016-04-27 02:20:17 -07:00
style_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
util Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
webdriver_server Simplify TOML syntax 2016-04-26 23:51:36 +02:00