@@ -125,24 +125,24 @@ <h3 id="title"></h3>
125
125
} ;
126
126
let dl_link = ( commit , bench , run ) => {
127
127
let url = dl_url ( commit , bench , run ) ;
128
- return `<a href="${ url } ">Download raw results for ${ commit . substring ( 0 , 10 ) } </a>` ;
128
+ return `<a href="${ url } ">raw</a>` ;
129
129
} ;
130
130
let processed_link = ( commit , bench , run , ty ) => {
131
131
let url = `/perf/processed-self-profile?commit=${ commit } &benchmark=${ bench } &run_name=${ run } &type=${ ty } ` ;
132
- return `<a href="${ url } ">Download/view ${ ty } results for ${ commit . substring ( 0 , 10 ) } </a>` ;
132
+ return `<a href="${ url } ">${ ty } </a>` ;
133
133
} ;
134
- txt = dl_link ( state . commit , state . benchmark , state . run_name ) ;
135
- txt += "<br>" ;
136
- txt += processed_link ( state . commit , state . benchmark , state . run_name , "flamegraph" ) ;
137
- txt += "<br>" ;
138
- txt += processed_link ( state . commit , state . benchmark , state . run_name , "crox" ) ;
134
+ txt = `Download/view
135
+ ${ dl_link ( state . commit , state . benchmark , state . run_name ) } ,
136
+ ${ processed_link ( state . commit , state . benchmark , state . run_name , "flamegraph" ) } ,
137
+ ${ processed_link ( state . commit , state . benchmark , state . run_name , "crox" ) }
138
+ results for ${ state . commit . substring ( 0 , 10 ) } ` ;
139
139
if ( state . base_commit ) {
140
140
txt += "<br>" ;
141
- txt += dl_link ( state . base_commit , state . benchmark , state . run_name ) ;
142
- txt += "<br>" ;
143
- txt += processed_link ( state . base_commit , state . benchmark , state . run_name , "flamegraph" ) ;
144
- txt += "<br>" ;
145
- txt += processed_link ( state . base_commit , state . benchmark , state . run_name , "crox" ) ;
141
+ txt += `Download/view
142
+ ${ dl_link ( state . base_commit , state . benchmark , state . run_name ) } ,
143
+ ${ processed_link ( state . base_commit , state . benchmark , state . run_name , "flamegraph" ) } ,
144
+ ${ processed_link ( state . base_commit , state . benchmark , state . run_name , "crox" ) }
145
+ results for ${ state . base_commit . substring ( 0 , 10 ) } ` ;
146
146
}
147
147
document . querySelector ( "#raw-urls" ) . innerHTML = txt ;
148
148
let sort_idx = state . sort_idx ;
0 commit comments