mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add instructions for building with --release
This commit is contained in:
parent
eefa3eba25
commit
a4ccf609b0
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue