aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2015-04-29 21:36:03 -0700
committerNicholas Nethercote <nnethercote@mozilla.com>2015-04-30 17:58:47 -0700
commit092507d23cfae6e249a7630190fa7e64b92603e4 (patch)
treebfffeb1028e49de5059383a3e9d04980b79b6c21 /components/script/lib.rs
parent826b7222027b7b8b5df417998a1e4826aecb019a (diff)
downloadservo-092507d23cfae6e249a7630190fa7e64b92603e4.tar.gz
servo-092507d23cfae6e249a7630190fa7e64b92603e4.zip
Add a `profile_traits` crate to reduce compile times.
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and only rebuilds `profile` and `servo`) which is much lower than it used to be. In comparison, a rebuild after touching components/profile_traits/mem.rs takes 294 seconds and rebuilds many more crates. This change also removes some unnecessary crate dependencies in `net` and `net_traits`.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 5c2e522f5d4..879216a2e27 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -43,7 +43,7 @@ extern crate png;
extern crate "rustc-serialize" as rustc_serialize;
extern crate time;
extern crate canvas;
-extern crate profile;
+extern crate profile_traits;
extern crate script_traits;
extern crate selectors;
extern crate util;