aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/time.rs
diff options
context:
space:
mode:
authorClark Gaebel <cgaebel@mozilla.com>2014-09-02 10:16:11 -0700
committerClark Gaebel <cgaebel@mozilla.com>2014-09-15 16:29:45 -0700
commitacd83ff47b30049fcd43a334f40bfbc27e7fbfd3 (patch)
tree2d084f890346f560b9c5a470801c2ad32052ebdb /components/util/time.rs
parentd161d0ad47dbfbd5ff6e28d19008e0719f078eff (diff)
downloadservo-acd83ff47b30049fcd43a334f40bfbc27e7fbfd3.tar.gz
servo-acd83ff47b30049fcd43a334f40bfbc27e7fbfd3.zip
Added a bloom filter to CSS selector matching.
Diffstat (limited to 'components/util/time.rs')
-rw-r--r--components/util/time.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/util/time.rs b/components/util/time.rs
index 4f282aa2648..bb483ca2a99 100644
--- a/components/util/time.rs
+++ b/components/util/time.rs
@@ -38,6 +38,7 @@ pub enum TimeProfilerCategory {
CompositingCategory,
LayoutQueryCategory,
LayoutPerformCategory,
+ LayoutMaxSelectorMatchesCategory,
LayoutStyleRecalcCategory,
LayoutSelectorMatchCategory,
LayoutTreeBuilderCategory,
@@ -66,6 +67,7 @@ impl TimeProfilerCategory {
buckets.insert(CompositingCategory, vec!());
buckets.insert(LayoutQueryCategory, vec!());
buckets.insert(LayoutPerformCategory, vec!());
+ buckets.insert(LayoutMaxSelectorMatchesCategory, vec!());
buckets.insert(LayoutStyleRecalcCategory, vec!());
buckets.insert(LayoutSelectorMatchCategory, vec!());
buckets.insert(LayoutTreeBuilderCategory, vec!());