Commit ecccfb2
authored
Rollup merge of rust-lang#56702 - wesleywiser:calc_total_time_stats, r=michaelwoerister
[self-profiler] Add column for percent of total time
Example output:
```
Self profiling results:
| Phase | Time (ms) | Time (%) | Queries | Hits (%)
| ---------------- | -------------- | -------- | -------------- | --------
| Parsing | 3 | 0.52 | |
| Expansion | 64 | 11.27 | |
| TypeChecking | 13 | 2.36 | 35208 | 90.77
| BorrowChecking | 0 | 0.10 | 68 | 50.00
| Codegen | 22 | 3.82 | 7362 | 75.12
| Linking | 252 | 43.81 | 458 | 68.56
| Other | 219 | 38.12 | 47372 | 56.84
Optimization level: No
Incremental: off
```
cc @michaelwoerister1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | | - | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
84 | 89 | | |
85 | | - | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
0 commit comments