mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
perf: enable lto
- This cuts the binary size by 40%, and makes runtime 2 seconds faster
This commit is contained in:
parent
844a720c50
commit
e489195b02
2 changed files with 7 additions and 4 deletions
|
@ -1,2 +1,5 @@
|
|||
[profile.release]
|
||||
lto = true
|
||||
|
||||
[workspace]
|
||||
members = ["src/*"]
|
||||
|
|
|
@ -215,11 +215,11 @@ Please see: [CHANGELOG.md](./CHANGELOG.md).
|
|||
|
||||
| Logical Cores | Seconds |
|
||||
| :-----------: | :-----: |
|
||||
| 1 | 45 |
|
||||
| 2 | 22 |
|
||||
| 4 | 14 |
|
||||
| 1 | 35 |
|
||||
| 2 | 18 |
|
||||
| 4 | 10 |
|
||||
| 8 | 10 |
|
||||
| 16 | 11 |
|
||||
| 16 | 10 |
|
||||
|
||||
[^semantic-changes]: The methodology to claim this is:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue