Skip to content

Conversation

@madhav-madhusoodanan
Copy link
Contributor

No description provided.

@madhav-madhusoodanan
Copy link
Contributor Author

madhav-madhusoodanan commented Nov 4, 2025

@folkertdev I was able to run 30% of the intrinsics and get a 17-minute CI runtime.
I'll be exploring some optimizations on how to reduce it further.

Copy link
Contributor

@folkertdev folkertdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very encouraging results!

TEST_RUNNER="${CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER}"
TEST_SKIP_INTRINSICS=crates/intrinsic-test/missing_x86.txt
: "${TEST_SAMPLE_INTRINSICS_PERCENTAGE:=5}"
: "${TEST_SAMPLE_INTRINSICS_PERCENTAGE:=30}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please adjust this so that it is not the longest CI job. I think the next-longest job is 11 minutes now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let me dial it down to 20%.

.to_lowercase()
.replace("-nan", "nan");
let c_output_map = c
.split("############")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put this marker into a const and use that instead of repeating the literal characters?

);
let (c, rust) = match (c, rust) {
(Ok(c), Ok(rust)) => (c, rust),
a => panic!("{a:#?}"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's call this "failure" or something a bit more descriptive

@madhav-madhusoodanan
Copy link
Contributor Author

The longest process is the C++/Rust binary runs (which run on a single thread each, in parallel)
This takes about 7 mins.

I think the next optimization would be parallelizing the binary runs themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants