Skip to content

Commit 3986f87

Browse files
committed
chore: add debug logs
1 parent 0012e68 commit 3986f87

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/run/runner/wall_time/executor.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ pub struct WallTimeExecutor {
1818

1919
impl WallTimeExecutor {
2020
pub fn new() -> Self {
21+
log::info!(
22+
"target_os: {} and is_linux: {}",
23+
std::env::consts::OS,
24+
cfg!(target_os = "linux")
25+
);
26+
2127
let use_perf = if cfg!(target_os = "linux") {
28+
log::info!(
29+
"CODSPEED_USE_PERF: {}",
30+
std::env::var("CODSPEED_USE_PERF").is_ok()
31+
);
2232
std::env::var("CODSPEED_USE_PERF").is_ok()
2333
} else {
2434
false

0 commit comments

Comments
 (0)