diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-05-04 12:57:06 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-05-04 12:57:06 -0500 |
commit | 89f90d930d172366d72fdd9f3363c80a5a56f552 (patch) | |
tree | d37e7c2fac277d39d1c513ec61911ef3bd04b4d3 | |
parent | 2e4d2eb6a9fd135ee19475664a608789880f37b6 (diff) | |
parent | a4ccf609b0176ca761ffaa271191a8911cfcfb43 (diff) | |
download | servo-89f90d930d172366d72fdd9f3363c80a5a56f552.tar.gz servo-89f90d930d172366d72fdd9f3363c80a5a56f552.zip |
Auto merge of #5934 - mbrubeck:readme, r=pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5934)
<!-- Reviewable:end -->
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md index cfd0e3dda63..12697350369 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,15 @@ cd servo ./mach run tests/html/about-mozilla.html ``` +By default, Servo builds in debug mode. This is useful for development, but +the resulting binary is very slow. For benchmarking, performance testing, or +real-world use, add the `--release` flag to create an optimized build: + +``` sh +./mach build --release +./mach run --release tests/html/about-mozilla.html +``` + ### Building for Android target ``` sh |