Skip to content

Commit c94fd76

Browse files
chore: logging to trace the time taken by binaries to complete a run
1 parent 4153c4e commit c94fd76

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/intrinsic-test/src/common/compare.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pub fn compare_outputs(intrinsic_name_list: &Vec<String>, runner: &str, target:
4747
);
4848
}
4949

50+
info!("Completed running C++ and Rust test binaries");
5051
let c = std::str::from_utf8(&c.stdout)
5152
.unwrap()
5253
.to_lowercase()
@@ -70,6 +71,8 @@ pub fn compare_outputs(intrinsic_name_list: &Vec<String>, runner: &str, target:
7071
.chain(rust_output_map.keys())
7172
.unique()
7273
.collect_vec();
74+
75+
info!("Comparing outputs");
7376
let intrinsics_diff_count = intrinsics
7477
.par_iter()
7578
.filter_map(|&&intrinsic| {

crates/intrinsic-test/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn run(test_environment: impl SupportedArchitectureTest) {
3434
if !test_environment.build_rust_file() {
3535
std::process::exit(3);
3636
}
37-
info!("comparing outputs");
37+
info!("Running binaries");
3838
if !test_environment.compare_outputs() {
3939
std::process::exit(1);
4040
}

0 commit comments

Comments
 (0)