File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,9 @@ fn main() {
95
95
if wrapper == "PerfStatSelfProfile" {
96
96
cmd. arg ( & format ! (
97
97
"-Zself-profile={}" ,
98
- prof_out_dir. to_str( ) . unwrap( )
98
+ prof_out_dir. to_str( ) . unwrap( ) ,
99
99
) ) ;
100
+ cmd. arg ( "-Zself-profile-counter=instructions:u" ) ;
100
101
let _ = fs:: remove_dir_all ( & prof_out_dir) ;
101
102
let _ = fs:: create_dir_all ( & prof_out_dir) ;
102
103
}
Original file line number Diff line number Diff line change @@ -79,20 +79,19 @@ <h4>Artifact Size</h4>
79
79
< tbody id ="artifact-body ">
80
80
</ tbody >
81
81
</ table >
82
- < p > 'Time (%)' is the percentage of the cpu-clock time spent on this query (we do not use
83
- wall-time as we want to account for parallelism).</ p >
82
+ < p > 'Instructions (%)' is the percentage of instructions executed on this query.</ p >
84
83
< p > Executions do not include cached executions.</ p >
85
84
< table >
86
85
< thead >
87
86
< tr id ="table-header ">
88
87
< th data-sort-idx ="1 " data-default-sort-dir ="1 "> Query/Function</ th >
89
- < th data-sort-idx ="10 " data-default-sort-dir ="-1 "> Time (%)</ th >
90
- < th data-sort-idx ="2 " data-default-sort-dir ="-1 "> Time (s) </ th >
91
- < th data-sort-idx ="11 " data-default-sort-dir ="-1 " class ="delta "> Time delta</ th >
88
+ < th data-sort-idx ="10 " data-default-sort-dir ="-1 "> Instructions (%)</ th >
89
+ < th data-sort-idx ="2 " data-default-sort-dir ="-1 "> Instructions </ th >
90
+ < th data-sort-idx ="11 " data-default-sort-dir ="-1 " class ="delta "> Instructions delta</ th >
92
91
< th data-sort-idx ="5 " data-default-sort-dir ="-1 "> Executions</ th >
93
92
< th data-sort-idx ="12 " data-default-sort-dir ="-1 " class ="delta "> Executions delta</ th >
94
- < th class ="incr " data-sort-idx ="7 " data-default-sort-dir ="-1 " title ="Incremental loading time ">
95
- Incremental loading (s) </ th >
93
+ < th class ="incr " data-sort-idx ="7 " data-default-sort-dir ="-1 " title ="Incremental loading instructions ">
94
+ Incremental loading instructions </ th >
96
95
< th class ="incr delta " data-sort-idx ="13 " data-default-sort-dir ="-1 "> Incremental loading delta</ th >
97
96
</ tr >
98
97
</ thead >
Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ pub async fn handle_self_profile(
587
587
. benchmark ( selector:: Selector :: One ( bench_name. to_string ( ) ) )
588
588
. profile ( selector:: Selector :: One ( profile. parse ( ) . unwrap ( ) ) )
589
589
. scenario ( selector:: Selector :: One ( scenario) )
590
- . metric ( selector:: Selector :: One ( Metric :: CpuClock ) ) ;
590
+ . metric ( selector:: Selector :: One ( Metric :: InstructionsUser ) ) ;
591
591
592
592
// Helper for finding an `ArtifactId` based on a commit sha
593
593
let find_aid = |commit : & str | {
You can’t perform that action at this time.
0 commit comments