diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-03 10:19:31 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-03 14:50:22 +1000 |
| commit | 02a86dbd1d929b1235b57ef26198f95ec1d41e51 (patch) | |
| tree | 0b5fd3a223464c1d863aa4b18467b64c096d15f7 /compiler/rustc_interface/src/errors.rs | |
| parent | 99e7c15e81385b38a8186b51edc4577d5d7b5bdd (diff) | |
| download | rust-02a86dbd1d929b1235b57ef26198f95ec1d41e51.tar.gz rust-02a86dbd1d929b1235b57ef26198f95ec1d41e51.zip | |
Remove pre-expansion AST stats.
They're very little value, because they only measure the top-level `main.rs` or `lib.rs` file. (Other `.rs` files don't get read and parsed until expansion occurs.) I saw an example recently where the pre-expansion AST was 3KB in size and the post-expansion AST was 66MB. I kept the "POST EXPANSION" in the output header, I think that's useful information to avoid possible confusion about when the measurement happens.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
