1
0
Fork 0
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:
Ryan Dahl 2021-04-09 08:18:49 -04:00 committed by GitHub
parent 40983a48b6
commit a87da4b19a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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