velvet-chess
velvet-chess copied to clipboard
bench, pgo, release profile
Hi there,
are there plans to implement a 'bench' command, that can be used for PGO during compilation and to compare different compile settings?
And, is there a benefit to set a release profile in Cargo.toml?
[profile.release]
...
with settings like opt-level, lto, panic, strip
Here we read
If you want to maximize runtime speed, consider all of the following: codegen-units = 1, lto = "fat", an alternative allocator, and panic = "abort".
Example
[profile.release]
codegen-units = 1
opt-level = 3
lto = = "fat"
panic = "abort"
strip = true
Thanks for your engine, your time and work. Keep on!