aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-05-04 12:57:06 -0500
committerbors-servo <metajack+bors@gmail.com>2015-05-04 12:57:06 -0500
commit89f90d930d172366d72fdd9f3363c80a5a56f552 (patch)
treed37e7c2fac277d39d1c513ec61911ef3bd04b4d3
parent2e4d2eb6a9fd135ee19475664a608789880f37b6 (diff)
parenta4ccf609b0176ca761ffaa271191a8911cfcfb43 (diff)
downloadservo-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.md9
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