File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,9 @@ fn main() {
120120 if wrapper == "PerfStatSelfProfile" {
121121 cmd. arg ( & format ! (
122122 "-Zself-profile={}" ,
123- prof_out_dir. to_str( ) . unwrap( )
123+ prof_out_dir. to_str( ) . unwrap( ) ,
124124 ) ) ;
125+ cmd. arg ( "-Zself-profile-counter=instructions:u" ) ;
125126 let _ = fs:: remove_dir_all ( & prof_out_dir) ;
126127 let _ = fs:: create_dir_all ( & prof_out_dir) ;
127128 }
Original file line number Diff line number Diff line change @@ -79,20 +79,19 @@ <h4>Artifact Size</h4>
7979 < tbody id ="artifact-body ">
8080 </ tbody >
8181 </ 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 >
8483 < p > Executions do not include cached executions.</ p >
8584 < table >
8685 < thead >
8786 < tr id ="table-header ">
8887 < 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 >
9291 < th data-sort-idx ="5 " data-default-sort-dir ="-1 "> Executions</ th >
9392 < 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 >
9695 < th class ="incr delta " data-sort-idx ="13 " data-default-sort-dir ="-1 "> Incremental loading delta</ th >
9796 </ tr >
9897 </ thead >
Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ pub async fn handle_self_profile(
526526 . benchmark ( selector:: Selector :: One ( bench_name. to_string ( ) ) )
527527 . profile ( selector:: Selector :: One ( profile. parse ( ) . unwrap ( ) ) )
528528 . scenario ( selector:: Selector :: One ( scenario) )
529- . metric ( selector:: Selector :: One ( Metric :: CpuClock ) ) ;
529+ . metric ( selector:: Selector :: One ( Metric :: InstructionsUser ) ) ;
530530
531531 // Helper for finding an `ArtifactId` based on a commit sha
532532 let find_aid = |commit : & str | {
You can’t perform that action at this time.
0 commit comments