Skip to content

Commit

Permalink
feat: Compile with LTO for slight speedup (#56)
Browse files Browse the repository at this point in the history
In my local testing, requests went from ~15K request per seconds to ~18K
requests per seconds.
  • Loading branch information
Isawan authored Sep 1, 2023
2 parents 204a7d2 + f2ef461 commit 40d3034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,4 @@ rustflags = ["--cfg", "tokio_unstable"]

[profile.release]
debug = 1
lto = "thin"

0 comments on commit 40d3034

Please sign in to comment.