diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-20 16:08:25 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-21 11:22:31 +1000 |
| commit | a7b35b5618da9c557a8d318aa7839a96fecb4d05 (patch) | |
| tree | 51573cef64569c65970848c19213271c992c93b4 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | b7dc9341b5a57e120470f8bb0e4831bffab63c89 (diff) | |
| download | rust-a7b35b5618da9c557a8d318aa7839a96fecb4d05.tar.gz rust-a7b35b5618da9c557a8d318aa7839a96fecb4d05.zip | |
Overhaul `-Zmeta-stats` output.
It's now much more like the `-Zhir-stats` output. - Each line is preceded with `meta-stats`, which makes the provenance clearer and allows filtering of the output. - Sections are now sorted in reverse order of size. - Column headings avoid the need to repeat the word "bytes" on every line. - Long numbers now have `_` separators for easier reading. - Consistent use of '-' within section labels, rather than a mix of '-', '_', and ' '. The code itself is shorter and easier to read thanks to: - the `stat` macro, which encapsulates each section's encoding, avoids some boilerplate, and removes the need for some low-value comments; - the `stats` vector, which replaces dozens of local variables.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
