Skip to content

Commit d8cc1ea

Browse files
committed
perf: Use codegen-units=1 and lto=fat
1 parent ddf831f commit d8cc1ea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
- Switch from `openssl` to `rustls` in `attohttpc` dependency. [#49](https://github.com/Stranger6667/css-inline/issues/49)
1313

14+
### Performance
15+
16+
- Use `codegen-units=1` and `lto=fat`
17+
1418
## [0.3.3] - 2020-07-07
1519

1620
### Performance

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ criterion = ">= 0.1"
3333
[[bench]]
3434
name = "inliner"
3535
harness = false
36+
37+
[profile.release]
38+
codegen-units = 1
39+
lto = "fat"

0 commit comments

Comments
 (0)