Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended ways to slim down ccov builds? #417

Open
dpc opened this issue Feb 7, 2025 · 4 comments
Open

Recommended ways to slim down ccov builds? #417

dpc opened this issue Feb 7, 2025 · 4 comments
Labels
C-question Category: A question

Comments

@dpc
Copy link

dpc commented Feb 7, 2025

We have a large project, lots of deps, lots of own LoC. Our normal builds product a lot of artifacts already, but ccov ones are huge.

Any recommendations how to retain at least some of the use ccov ability with lower storage use? Would things work e.g. with debug symbols only for local dependencies or something like that?

Generally the problem of debug symbols balooning size of everything Rust-dev related is a common pattern when doing Rust dev tooling and CIs, etc. I can understand and accept why my binary is 120MB unstripped in release build. But why is my target directory 20GB right away is a bit harder for me to internalize. :D

@taiki-e
Copy link
Owner

taiki-e commented Feb 8, 2025

Probably the same issue as #335

@dpc
Copy link
Author

dpc commented Feb 8, 2025

That seems like one angle, though I don't fully understand it, and we don't have thousands for test binaries.

@taiki-e
Copy link
Owner

taiki-e commented Feb 9, 2025

I think what is important in that case is not the number of test binaries, but the number of processes being executed.

I don't know anything about your test, but if you are testing binaries, you would call and test those binaries, right? In that case, each of those calls should be a separate process.

@taiki-e taiki-e added the C-question Category: A question label Feb 9, 2025
@dpc
Copy link
Author

dpc commented Feb 9, 2025

Oh. That's good to know, but I think at the point I was looking at, I didn't even start a single test yet. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-question Category: A question
Projects
None yet
Development

No branches or pull requests

2 participants