diff options
author | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-02 10:16:11 -0700 |
---|---|---|
committer | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-15 16:29:45 -0700 |
commit | acd83ff47b30049fcd43a334f40bfbc27e7fbfd3 (patch) | |
tree | 2d084f890346f560b9c5a470801c2ad32052ebdb /components/util/time.rs | |
parent | d161d0ad47dbfbd5ff6e28d19008e0719f078eff (diff) | |
download | servo-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.rs | 2 |
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!()); |