Skip to content

Commit

Permalink
perf: drastically decrease bin size & increase performance
Browse files Browse the repository at this point in the history
4.7M -> 1.8M
0.2s -> 0.02s
  • Loading branch information
adamperkowski committed Nov 16, 2024
1 parent 78635c7 commit 460f9d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.132"
tokio = { version = "1.41.1", features = ["full"] , optional = true }
toml = { version = "0.8.19", features = ["parse"], default-features = false }

[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
opt-level = "z"

0 comments on commit 460f9d9

Please sign in to comment.