diff options
author | Nico Weber <thakis@chromium.org> | 2014-05-25 04:36:57 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-06-15 21:13:18 (GMT) |
commit | ef73a646ea32eb243c9571d5f7a5f386bb1461b7 (patch) | |
tree | 0735be59fdf0973d903be4cbf3a2b605e89739d3 | |
parent | 945a1080afc7f79d50e166428af754a3e5d5d91c (diff) | |
download | Ninja-ef73a646ea32eb243c9571d5f7a5f386bb1461b7.zip Ninja-ef73a646ea32eb243c9571d5f7a5f386bb1461b7.tar.gz Ninja-ef73a646ea32eb243c9571d5f7a5f386bb1461b7.tar.bz2 |
Turn on stat cache. Empty builds of chrome on my laptop 4s -> 1.3s (!)
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 962480e..a2f3111 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -883,7 +883,7 @@ int NinjaMain::RunBuild(int argc, char** argv) { } // XXX allow stat caching - //disk_interface_.use_cache_ = true; + disk_interface_.use_cache_ = true; Builder builder(&state_, config_, &build_log_, &deps_log_, &disk_interface_); for (size_t i = 0; i < targets.size(); ++i) { |