Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/codspeed/src/codspeed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub use std::hint::black_box;
pub const WARMUP_RUNS: u32 = 5;

pub fn display_native_harness() {
println!("Harness: codspeed v{}", env!("CARGO_PKG_VERSION"),);
eprintln!("Harness: codspeed v{}", env!("CARGO_PKG_VERSION"),);
}

#[derive(PartialEq)]
Expand Down Expand Up @@ -52,8 +52,8 @@ impl CodSpeed {
}
};

if instrumentation_status.is_instrumented() {
println!(
if !instrumentation_status.is_instrumented() {
eprintln!(
"{} codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment.",
"NOTICE:".to_string().bold()
);
Expand Down