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 -->
This commit is contained in:
bors-servo 2015-05-04 12:57:06 -05:00
commit 89f90d930d

View file

@ -81,6 +81,15 @@ cd servo
./mach run tests/html/about-mozilla.html ./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 ### Building for Android target
``` sh ``` sh