We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9795bb5 commit 59d80f9Copy full SHA for 59d80f9
crates/cargo-codspeed/src/run.rs
@@ -100,7 +100,9 @@ pub fn run_benches(
100
) -> Result<()> {
101
let codspeed_target_dir = get_codspeed_target_dir(metadata);
102
let workspace_root = metadata.workspace_root.as_std_path();
103
- clear_raw_walltime_data(workspace_root)?;
+ if measurement_mode == MeasurementMode::Walltime {
104
+ clear_raw_walltime_data(workspace_root)?;
105
+ }
106
let benches = filters.benches_to_run(codspeed_target_dir, metadata)?;
107
if benches.is_empty() {
108
bail!("No benchmarks found. Run `cargo codspeed build` first.");
0 commit comments