Skip to content

Instantly share code, notes, and snippets.

@wesleywiser wesleywiser/output.md Secret
Created Jan 29, 2019

Embed
What would you like to do?
New Perf Output
wesley@endurance:~/code/rust/test> rustc hello_world.rs -Z self-profile
Results
| Phase                                     | Time (ms)      | Time (%) | Queries        | Hits (%)
| ----------------------------------------- | -------------- | -------- | -------------- | --------
| TypeChecking                              | 56             | 39.16    | -1             | -1      
| - trait_impls_of                          | 11             | 7.69     | -1             | -1      
| - typeck_item_bodies                      | 10             | 6.99     | -1             | -1      
| - typeck_tables_of                        | 10             | 6.99     | -1             | -1      
| - evaluate_obligation                     | 7              | 4.90     | -1             | -1      
| - const_is_rvalue_promotable_to_static    | 5              | 3.50     | -1             | -1      
| - is_copy_raw                             | 5              | 3.50     | -1             | -1      
| - rvalue_promotable_map                   | 5              | 3.50     | -1             | -1      
| - dropck_outlives                         | 2              | 1.40     | -1             | -1      
| - layout_raw                              | 1              | 0.70     | -1             | -1      
| BorrowChecking                            | 1              | 0.70     | -1             | -1      
| - borrowck                                | 1              | 0.70     | -1             | -1      
| Codegen                                   | 13             | 9.09     | -1             | -1      
| - collect_and_partition_mono_items        | 11             | 7.69     | -1             | -1      
| - mir_const                               | 1              | 0.70     | -1             | -1      
| - mir_validated                           | 1              | 0.70     | -1             | -1      
| Linking                                   | 0              | 0.00     | -1             | -1      
| Other                                     | 73             | 51.05    | -1             | -1      
| - const_eval                              | 18             | 12.59    | -1             | -1      
| - type_of                                 | 10             | 6.99     | -1             | -1      
| - adt_def                                 | 9              | 6.29     | -1             | -1      
| - const_eval_raw                          | 9              | 6.29     | -1             | -1      
| - visible_parent_map                      | 8              | 5.59     | -1             | -1      
| - item_attrs                              | 7              | 4.90     | -1             | -1      
| - item_children                           | 6              | 4.20     | -1             | -1      
| - adt_dtorck_constraint                   | 4              | 2.80     | -1             | -1      
| - adt_destructor                          | 2              | 1.40     | -1             | -1  
Phase Time (ms) Time (%) Queries Hits (%)
TypeChecking 56 39.16 -1 -1
- trait_impls_of 11 7.69 -1 -1
- typeck_item_bodies 10 6.99 -1 -1
- typeck_tables_of 10 6.99 -1 -1
- evaluate_obligation 7 4.90 -1 -1
- const_is_rvalue_promotable_to_static 5 3.50 -1 -1
- is_copy_raw 5 3.50 -1 -1
- rvalue_promotable_map 5 3.50 -1 -1
- dropck_outlives 2 1.40 -1 -1
- layout_raw 1 0.70 -1 -1
BorrowChecking 1 0.70 -1 -1
- borrowck 1 0.70 -1 -1
Codegen 13 9.09 -1 -1
- collect_and_partition_mono_items 11 7.69 -1 -1
- mir_const 1 0.70 -1 -1
- mir_validated 1 0.70 -1 -1
Linking 0 0.00 -1 -1
Other 73 51.05 -1 -1
- const_eval 18 12.59 -1 -1
- type_of 10 6.99 -1 -1
- adt_def 9 6.29 -1 -1
- const_eval_raw 9 6.29 -1 -1
- visible_parent_map 8 5.59 -1 -1
- item_attrs 7 4.90 -1 -1
- item_children 6 4.20 -1 -1
- adt_dtorck_constraint 4 2.80 -1 -1
- adt_destructor 2 1.40 -1 -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.