about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-03 21:53:38 +0200
committerGitHub <noreply@github.com>2025-06-03 21:53:38 +0200
commitb7150d4e63ae497224fcfa8ff8a962941bf10628 (patch)
tree41fe5008a5851cf7c7bc20cf45404e7aa2d9fefc /compiler/rustc_ast/src/ast.rs
parentc8a0f69d0ef5a97db58e9ad4cbe3b7ab4a66e760 (diff)
parent02a86dbd1d929b1235b57ef26198f95ec1d41e51 (diff)
downloadrust-b7150d4e63ae497224fcfa8ff8a962941bf10628.tar.gz
rust-b7150d4e63ae497224fcfa8ff8a962941bf10628.zip
Rollup merge of #141943 - nnethercote:rm-pre-expansion-ast-stats, r=compiler-errors
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.

r? `@davidtwco`
Diffstat (limited to 'compiler/rustc_ast/src/ast.rs')
0 files changed, 0 insertions, 0 deletions