mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
Improve incremental build time (#10039)
Unfortunately this increases the release build size by 8M ``` | | incremental build | full build | binary size | |--------|-------------------|------------|-------------| | main | 4m 21s | 6m 24s | 72M | | #10039 | 1m 45s | 5m 28s | 80M | ```
This commit is contained in:
parent
40983a48b6
commit
a87da4b19a
1 changed files with 0 additions and 11 deletions
11
Cargo.toml
11
Cargo.toml
|
@ -20,17 +20,6 @@ exclude = [
|
||||||
"std/hash/_wasm"
|
"std/hash/_wasm"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
codegen-units = 1
|
|
||||||
lto = true
|
|
||||||
opt-level = 'z' # Optimize for size
|
|
||||||
|
|
||||||
[profile.bench]
|
|
||||||
codegen-units = 1
|
|
||||||
lto = true
|
|
||||||
opt-level = 'z' # Optimize for size
|
|
||||||
|
|
||||||
# Optimize these packages for perf
|
# Optimize these packages for perf
|
||||||
[profile.release.package.rand]
|
[profile.release.package.rand]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
Loading…
Reference in a new issue