Skip to content

Commit

Permalink
implement reth's maxperf Cargo profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed May 13, 2024
1 parent 711d04d commit 6a4b43c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ default-members = ["bin/mev"]
[workspace.package]
version = "0.3.0"

[profile.release]
lto = "thin"
strip = "debuginfo"

[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1
incremental = false

[workspace.dependencies]
ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "cf3c404043230559660810bc0c9d6d5a8498d819" }
beacon-api-client = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "cf3c404043230559660810bc0c9d6d5a8498d819" }
Expand Down

0 comments on commit 6a4b43c

Please sign in to comment.