mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Change release build flags to -O3 when favorable (#9538)
This commit is contained in:
parent
666c4b77b0
commit
c0f10e72ee
1 changed files with 14 additions and 0 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -25,3 +25,17 @@ opt-level = 'z' # Optimize for size
|
|||
codegen-units = 1
|
||||
lto = true
|
||||
opt-level = 'z' # Optimize for size
|
||||
|
||||
# Optimize these packages for perf
|
||||
[profile.release.package.rand]
|
||||
opt-level = 3
|
||||
[profile.release.package.flate2]
|
||||
opt-level = 3
|
||||
[profile.release.package.brotli]
|
||||
opt-level = 3
|
||||
[profile.release.package.miniz_oxide]
|
||||
opt-level = 3
|
||||
[profile.release.package.async-compression]
|
||||
opt-level = 3
|
||||
[profile.release.package.brotli-decompressor]
|
||||
opt-level = 3
|
Loading…
Reference in a new issue