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 d525802 commit 649f709Copy full SHA for 649f709
crates/codspeed/src/walltime.rs
@@ -58,6 +58,9 @@ pub fn collect_raw_walltime_results(
58
max_time_ns: Option<u128>,
59
times_ns: Vec<u128>,
60
) {
61
+ if std::env::var("CODSPEED_ENV").is_err() {
62
+ return;
63
+ }
64
let workspace_root = std::env::var("CODSPEED_CARGO_WORKSPACE_ROOT").map(PathBuf::from);
65
let Ok(workspace_root) = workspace_root else {
66
eprintln!("codspeed failed to get workspace root. skipping");
0 commit comments