diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-12-15 13:27:42 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-12-15 13:28:05 -0800 |
commit | df93b1f194848e1f74827cbffbaba914e9fd979e (patch) | |
tree | a22dba31e6ae9e6642674f3f330a3c1a85a9d3de /components/profile/time.rs | |
parent | 072222e69e5451db670716b414f800db593ffc42 (diff) | |
download | servo-df93b1f194848e1f74827cbffbaba914e9fd979e.tar.gz servo-df93b1f194848e1f74827cbffbaba914e9fd979e.zip |
gfx: Measure text shaping time in the time profiler.
Diffstat (limited to 'components/profile/time.rs')
-rw-r--r-- | components/profile/time.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/profile/time.rs b/components/profile/time.rs index 71dfc29a519..d4495c48bd4 100644 --- a/components/profile/time.rs +++ b/components/profile/time.rs @@ -60,19 +60,20 @@ impl Formattable for ProfilerCategory { ProfilerCategory::LayoutGeneratedContent | ProfilerCategory::LayoutMain | ProfilerCategory::LayoutDispListBuild | - ProfilerCategory::LayoutShaping | ProfilerCategory::LayoutDamagePropagate | ProfilerCategory::PaintingPerTile | ProfilerCategory::PaintingPrepBuff => "+ ", ProfilerCategory::LayoutParallelWarmup | ProfilerCategory::LayoutSelectorMatch | - ProfilerCategory::LayoutTreeBuilder => "| + ", + ProfilerCategory::LayoutTreeBuilder | + ProfilerCategory::LayoutTextShaping => "| + ", _ => "" }; let name = match *self { ProfilerCategory::Compositing => "Compositing", ProfilerCategory::LayoutPerform => "Layout", ProfilerCategory::LayoutStyleRecalc => "Style Recalc", + ProfilerCategory::LayoutTextShaping => "Text Shaping", ProfilerCategory::LayoutRestyleDamagePropagation => "Restyle Damage Propagation", ProfilerCategory::LayoutNonIncrementalReset => "Non-incremental reset (temporary)", ProfilerCategory::LayoutSelectorMatch => "Selector Matching", @@ -81,7 +82,6 @@ impl Formattable for ProfilerCategory { ProfilerCategory::LayoutGeneratedContent => "Generated Content Resolution", ProfilerCategory::LayoutMain => "Primary Layout Pass", ProfilerCategory::LayoutParallelWarmup => "Parallel Warmup", - ProfilerCategory::LayoutShaping => "Shaping", ProfilerCategory::LayoutDispListBuild => "Display List Construction", ProfilerCategory::PaintingPerTile => "Painting Per Tile", ProfilerCategory::PaintingPrepBuff => "Buffer Prep", |