1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

Change release build flags to -O3 when favorable (#9538)

This commit is contained in:
evan 2021-02-18 09:46:31 -05:00 committed by GitHub
parent 666c4b77b0
commit c0f10e72ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,17 @@ opt-level = 'z' # Optimize for size
codegen-units = 1 codegen-units = 1
lto = true lto = true
opt-level = 'z' # Optimize for size 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