aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/time.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-12-15 13:27:42 -0800
committerPatrick Walton <pcwalton@mimiga.net>2015-12-15 13:28:05 -0800
commitdf93b1f194848e1f74827cbffbaba914e9fd979e (patch)
treea22dba31e6ae9e6642674f3f330a3c1a85a9d3de /components/profile/time.rs
parent072222e69e5451db670716b414f800db593ffc42 (diff)
downloadservo-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.rs6
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",