You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo codspeed build defaults to --profile release, vs cargo bench/cargo criterion defaulting to --profile bench. Bench inherits release by default but it can be overridden for e.g. adding more debug info to it compared a normal release build. Is this intentional? Thanks
The text was updated successfully, but these errors were encountered:
DaniPopes
changed the title
Default to bench?
Default to --profile bench?
Dec 12, 2024
Yes, this is intentional. The bench profile comes with undocumented limitations regarding custom build processes.
Completely agree this should be the default behavior when this is possible.
(I don't remember the details of the experiment showing the limitations, though).
cargo codspeed build
defaults to--profile release
, vscargo bench
/cargo criterion
defaulting to--profile bench
. Bench inherits release by default but it can be overridden for e.g. adding more debug info to it compared a normal release build. Is this intentional? ThanksThe text was updated successfully, but these errors were encountered: