File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 291291 margin : 10px ;
292292 text-align : center;
293293 }
294+
295+ .silent-link {
296+ color : inherit;
297+ }
294298 </ style >
295299 < script src ="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js "> </ script >
296300</ head >
@@ -993,6 +997,9 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
993997 percentLink ( commit , baseCommit , testCase ) {
994998 return `/detailed-query.html?commit=${ commit } &base_commit=${ baseCommit } &benchmark=${ testCase . benchmark + "-" + testCase . profile } &scenario=${ testCase . scenario } ` ;
995999 } ,
1000+ benchmarkLink ( benchmark ) {
1001+ return "https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/" + benchmark ;
1002+ }
9961003 } ,
9971004 template : `
9981005<div class="bench-table">
@@ -1025,7 +1032,13 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
10251032 <tbody>
10261033 <template v-for="testCase in cases">
10271034 <tr>
1028- <td>{{ testCase.benchmark }}</td>
1035+ <td>
1036+ <a v-bind:href="benchmarkLink(testCase.benchmark)"
1037+ class="silent-link"
1038+ target="_blank">
1039+ {{ testCase.benchmark }}
1040+ </a>
1041+ </td>
10291042 <td>{{ testCase.profile }}</td>
10301043 <td>{{ testCase.scenario }}</td>
10311044 <td>
You can’t perform that action at this time.
0 commit comments