about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-02-01 14:29:40 +0100
committerGitHub <noreply@github.com>2021-02-01 14:29:40 +0100
commit82b00ec606df7d1dc3237cc05f8431ae43f76b03 (patch)
tree629e1f3ee084c3bf2f032cd78087aa87d7734fb8 /compiler/rustc_errors/src
parent39ea34744b5e5f83c7ce8385afab6e12882d1e52 (diff)
parent849dc1a20cbccb069677566b88ca7b7e8586c997 (diff)
downloadrust-82b00ec606df7d1dc3237cc05f8431ae43f76b03.tar.gz
rust-82b00ec606df7d1dc3237cc05f8431ae43f76b03.zip
Rollup merge of #81536 - tgnottingham:time-passes-rss, r=oli-obk
Indicate both start and end of pass RSS in time-passes output

Previously, only the end of pass RSS was indicated. This could easily
lead one to believe that the change in RSS from one pass to the next was
attributable to the second pass, when in fact it occurred between the
end of the first pass and the start of the second.

Also, improve alignment of columns.

Sample of output:

```
time:   0.739; rss:   607MB ->   637MB	item_types_checking
time:   8.429; rss:   637MB ->   775MB	item_bodies_checking
time:  11.063; rss:   470MB ->   775MB	type_check_crate
time:   0.232; rss:   775MB ->   777MB	match_checking
time:   0.139; rss:   777MB ->   779MB	liveness_and_intrinsic_checking
time:   0.372; rss:   775MB ->   779MB	misc_checking_2
time:   8.188; rss:   779MB ->  1019MB	MIR_borrow_checking
time:   0.062; rss:  1019MB ->  1021MB	MIR_effect_checking
```
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions