docs: Explain tradeoffs and use cases of the different release profiles
parent
361745803e
commit
255cf79104
|
@ -78,6 +78,8 @@ exclude = [
|
|||
"tools/",
|
||||
]
|
||||
|
||||
# This profile optimizes for runtime performance and small binary size at the expense of longer
|
||||
# build times. It's most suitable for final release builds.
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
debug = true
|
||||
|
@ -86,6 +88,8 @@ lto = "thin"
|
|||
[profile.bench]
|
||||
debug = true
|
||||
|
||||
# This profile optimizes for short build times at the expense of larger binary size and slower
|
||||
# runtime performance. It's most suitable for development iterations.
|
||||
[profile.quick-release]
|
||||
inherits = "release"
|
||||
codegen-units = 16
|
||||
|
|
Loading…
Reference in New Issue