|
219 | 219 | }
|
220 | 220 |
|
221 | 221 | .benches th {
|
222 |
| - text-align: left; |
223 |
| - word-break: break-word; |
| 222 | + text-align: center; |
224 | 223 | width: 25%;
|
225 | 224 | min-width: 50px;
|
226 | 225 | }
|
@@ -554,14 +553,18 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
|
554 | 553 | :cases="testCases.filter(c => c.category === 'primary')"
|
555 | 554 | :show-raw-data="showRawData"
|
556 | 555 | :commit-a="data.a.commit"
|
557 |
| - :commit-b="data.b.commit"></test-cases-table> |
| 556 | + :commit-b="data.b.commit" |
| 557 | + :before="before" |
| 558 | + :after="after"></test-cases-table> |
558 | 559 | <hr />
|
559 | 560 | <test-cases-table
|
560 | 561 | title="Secondary"
|
561 | 562 | :cases="testCases.filter(c => c.category === 'secondary')"
|
562 | 563 | :show-raw-data="showRawData"
|
563 | 564 | :commit-a="data.a.commit"
|
564 |
| - :commit-b="data.b.commit"></test-cases-table> |
| 565 | + :commit-b="data.b.commit" |
| 566 | + :before="before" |
| 567 | + :after="after"></test-cases-table> |
565 | 568 | <br />
|
566 | 569 | <hr />
|
567 | 570 | <div>
|
@@ -631,7 +634,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
|
631 | 634 | }
|
632 | 635 | });
|
633 | 636 | Vue.component('test-cases-table', {
|
634 |
| - props: ['cases', 'showRawData', 'commitA', 'commitB', 'title'], |
| 637 | + props: ['cases', 'showRawData', 'commitA', 'commitB', 'before', 'after', 'title'], |
635 | 638 | methods: {
|
636 | 639 | detailedQueryLink(commit, testCase) {
|
637 | 640 | return `/detailed-query.html?commit=${commit}&benchmark=${testCase.benchmark + "-" + testCase.profile}&scenario=${testCase.scenario}`;
|
@@ -664,8 +667,8 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
|
664 | 667 | </span>
|
665 | 668 | </span>
|
666 | 669 | </th>
|
667 |
| - <th v-if="showRawData">{{before}}</th> |
668 |
| - <th v-if="showRawData">{{after}}</th> |
| 670 | + <th v-if="showRawData">{{ before }}</th> |
| 671 | + <th v-if="showRawData">{{ after }}</th> |
669 | 672 | </tr>
|
670 | 673 | </thead>
|
671 | 674 | <tbody>
|
|
0 commit comments