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 291
291
margin : 10px ;
292
292
text-align : center;
293
293
}
294
+
295
+ .silent-link {
296
+ color : inherit;
297
+ }
294
298
</ style >
295
299
< script src ="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js "> </ script >
296
300
</ head >
@@ -993,6 +997,9 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
993
997
percentLink ( commit , baseCommit , testCase ) {
994
998
return `/detailed-query.html?commit=${ commit } &base_commit=${ baseCommit } &benchmark=${ testCase . benchmark + "-" + testCase . profile } &scenario=${ testCase . scenario } ` ;
995
999
} ,
1000
+ benchmarkLink ( benchmark ) {
1001
+ return "https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/" + benchmark ;
1002
+ }
996
1003
} ,
997
1004
template : `
998
1005
<div class="bench-table">
@@ -1025,7 +1032,13 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
1025
1032
<tbody>
1026
1033
<template v-for="testCase in cases">
1027
1034
<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>
1029
1042
<td>{{ testCase.profile }}</td>
1030
1043
<td>{{ testCase.scenario }}</td>
1031
1044
<td>
You can’t perform that action at this time.
0 commit comments