mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-22 19:14:31 +03:00
Allow the bench
profile to compile faster
There we don't necessarily need every last bit of optimization like one would want in release profiles, but build performance is of the essence for developer productivity.
This commit is contained in:
parent
30cc6a4838
commit
bd2c19db0b
@ -90,3 +90,8 @@ codegen-units = 1 # Compile crates one after another so the compiler can optimiz
|
||||
lto = true # Enables link to optimizations
|
||||
opt-level = "s" # Optimize for binary size
|
||||
debug = true # Enable debug symbols, for profiling
|
||||
|
||||
[profile.bench]
|
||||
codegen-units = 256
|
||||
lto = false
|
||||
opt-level = 3
|
Loading…
Reference in New Issue
Block a user