diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-24 12:45:56 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-24 13:07:14 +1000 |
| commit | b2a57e6b428689d8b6a9881f8ccdfd30d76767bc (patch) | |
| tree | 1501df13b7d3c111911ba77cbeaccd8b2081ba50 /tests/ui/stats | |
| parent | 1e7e1732caa369221913e3d50af19324e0afa869 (diff) | |
| download | rust-b2a57e6b428689d8b6a9881f8ccdfd30d76767bc.tar.gz rust-b2a57e6b428689d8b6a9881f8ccdfd30d76767bc.zip | |
Tweak `-Zinput-stats` and `-Zmeta-stats` output.
To make it match `-Zmacro-stats`, and work better if you have enabled it for multiple crates. - Print each crate's name. - Print a `===` banner at the start and end for separation.
Diffstat (limited to 'tests/ui/stats')
| -rw-r--r-- | tests/ui/stats/input-stats.stderr | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/stats/input-stats.stderr b/tests/ui/stats/input-stats.stderr index 77e39f68770..b3b8784fa27 100644 --- a/tests/ui/stats/input-stats.stderr +++ b/tests/ui/stats/input-stats.stderr @@ -1,4 +1,5 @@ -ast-stats POST EXPANSION AST STATS +ast-stats ================================================================ +ast-stats POST EXPANSION AST STATS: input_stats ast-stats Name Accumulated Size Count Item Size ast-stats ---------------------------------------------------------------- ast-stats Item 1_584 (NN.N%) 11 144 @@ -57,8 +58,9 @@ ast-stats - AngleBracketed 40 (NN.N%) 1 ast-stats Crate 40 (NN.N%) 1 40 ast-stats ---------------------------------------------------------------- ast-stats Total 7_416 127 -ast-stats -hir-stats HIR STATS +ast-stats ================================================================ +hir-stats ================================================================ +hir-stats HIR STATS: input_stats hir-stats Name Accumulated Size Count Item Size hir-stats ---------------------------------------------------------------- hir-stats PathSegment 1_776 (NN.N%) 37 48 @@ -118,4 +120,4 @@ hir-stats Lifetime 28 (NN.N%) 1 28 hir-stats ForeignItemRef 24 (NN.N%) 1 24 hir-stats ---------------------------------------------------------------- hir-stats Total 8_676 172 -hir-stats +hir-stats ================================================================ |
