-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow selecting different profiles #48
Comments
bench
compilation profile (or selecting different profiles)
It would definitely make sense to allow custom profiles. However, if I remember correctly, it's not possible to use the Edit: in the end it seem possible to use the bench profile and it works perfectly fine |
You shouldn't need to add the debug configuration to your release profile manually since we pass it to rustc. So normally you should have the debug symbols already in your codspeed builds.
|
Thank you for the quick work! After making the issue, I did indeed find that it was my stripping settings, and not the |
Currently the
cargo codspeed build
command requests therelease
profile:codspeed-rust/crates/cargo-codspeed/src/build.rs
Line 36 in ac3dae8
bench
profile that is used bycargo bench
. Note that thisbench
by default is the same as therelease
profile, but can be overwritten by users to enable different build options for benchmarking.I was hoping to use this profile as I would like to set
debug = true
to receive better traces in CodSpeed, but would not like to do this for therelease
profile. At the moment there doesn't seem to be a way to override the build profile that is used by thecargo codspeed build
command.The text was updated successfully, but these errors were encountered: