gc: Verify performance numbers #13058
Labels
A-caching
Area: caching of dependencies, repositories, and build artifacts
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Z-gc
Nightly: garbage collection
For the gc support implemented in #12634, I did a lot of performance testing, but I haven't recorded any final numbers to verify that the performance hit is acceptable. I'd like to collect data on a variety of systems under typical and extreme conditions to understand the impact for various commands. Things I'd like to record are:
rustc
calls).cargo clean gc
when synchronizing out-of-sync files (essentially,sync_db_with_files
). For example, starting with a relatively large cache generated by older versions of cargo. This should be very fast (essentially scanning a few thousand files), but need to verify.cargo clean gc
with a size option like--max-download-size
when synchronizing out-of-sync files (sync_db_with_files
withsync_size
). This has todu
over a potentially large number of files.There are some benchmarks, but they are isolated and low-level. The examples above are targeted more towards the overall effect when integrated with the build code paths, or the cleaning code paths. We may want to consider extending the benchmarks if there are points that seem at risk.
The text was updated successfully, but these errors were encountered: