mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Auto merge of #9987 - larsbergstrom:codegen_units, r=metajack
Test using 4 parallel codegen units on release builds Do not merge yet! Doing a test run first. Note that `codegen-units` had very little effect on our dev builds (saved ~12 seconds http://logs.glob.uno/?c=mozilla%23servo&s=6+Aug+2015&e=6+Aug+2015#c252485). @bors-servo try <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9987) <!-- Reviewable:end -->
This commit is contained in:
commit
78b16bcc1d
2 changed files with 10 additions and 4 deletions
|
@ -66,12 +66,11 @@ headless = ["glutin_app/headless"]
|
||||||
webdriver = ["webdriver_server"]
|
webdriver = ["webdriver_server"]
|
||||||
energy-profiling = ["profile_traits/energy-profiling"]
|
energy-profiling = ["profile_traits/energy-profiling"]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
codegen-units = 4
|
||||||
# Uncomment to profile on Linux:
|
# Uncomment to profile on Linux:
|
||||||
#
|
|
||||||
# [profile.release]
|
|
||||||
# opt-level = 3
|
|
||||||
# debug = true
|
# debug = true
|
||||||
# rpath = false
|
|
||||||
# lto = false
|
# lto = false
|
||||||
|
|
||||||
[dependencies.compositing]
|
[dependencies.compositing]
|
||||||
|
|
|
@ -8,6 +8,13 @@ name = "embedding"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate-type = ["dylib"]
|
crate-type = ["dylib"]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
codegen-units = 4
|
||||||
|
# Uncomment to profile on Linux:
|
||||||
|
# debug = true
|
||||||
|
# lto = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
euclid = {version = "0.6.4", features = ["plugins"]}
|
euclid = {version = "0.6.4", features = ["plugins"]}
|
||||||
gleam = "0.2.8"
|
gleam = "0.2.8"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue