rust/compiler/rustc_incremental/src/persist
Yuki Okushi 3d95330230
Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser
Add support for artifact size profiling

This adds support for profiling artifact file sizes (incremental compilation artifacts and query cache to begin with).

Eventually we want to track this in perf.rlo so we can ensure that file sizes do not change dramatically on each pull request.

This relies on support in measureme: https://github.com/rust-lang/measureme/pull/169. Once that lands we can update this PR to not point to a git dependency.

This was worked on together with `@michaelwoerister.`

r? `@wesleywiser`
2021-10-20 04:35:11 +09:00
..
fs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
data.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
dirty_clean.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
file_format.rs Add support for artifact size profiling 2021-10-07 14:22:29 +02:00
fs.rs Adopt let_else across the compiler 2021-10-16 07:18:05 +02:00
load.rs Mmap the incremental data instead of reading it. 2021-08-28 21:45:02 +02:00
mod.rs Stream the dep-graph to a file. 2021-03-30 18:09:59 +02:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
save.rs Drop the query result memmap before serializing it back. 2021-08-28 21:45:02 +02:00
work_product.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For info on how the incremental compilation works, see the rustc dev guide.