Skip to content

Commit

Permalink
Improve incremental build time (denoland#10039)
Browse files Browse the repository at this point in the history
Unfortunately this increases the release build size by 8M
```
|        | incremental build | full build | binary size |
|--------|-------------------|------------|-------------|
| main   | 4m 21s            | 6m 24s     | 72M         |
| denoland#10039 | 1m 45s            | 5m 28s     | 80M         |
```
  • Loading branch information
ry committed Apr 9, 2021
1 parent 40983a4 commit a87da4b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ exclude = [
"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
[profile.release.package.rand]
opt-level = 3
Expand Down

0 comments on commit a87da4b

Please sign in to comment.