Skip to content

Allow selecting different profiles #48

Closed
@Dekker1

Description

@Dekker1

Currently the cargo codspeed build command requests the release profile:

compile_opts.build_config.requested_profile = "release".into();
. However, there is a standard bench profile that is used by cargo bench. Note that this bench by default is the same as the release 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 the release profile. At the moment there doesn't seem to be a way to override the build profile that is used by the cargo codspeed build command.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions