servo: Merge #5934 - Add instructions for building with --release (from mbrubeck:readme); r=pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 89f90d930d172366d72fdd9f3363c80a5a56f552
This commit is contained in:
Matt Brubeck 2015-05-04 12:57:06 -05:00
Родитель bd50a8bf0d
Коммит 29662094f7
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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