Skip to content

Commit 0ec5385

Browse files
committed
Change regression and improvement icons
1 parent 89ec60d commit 0ec5385

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

site/static/compare.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
274274
</div>
275275
<input type="checkbox" v-model="showRawData" style="margin-left: 20px;" />
276276
</div>
277+
<button @click="resetFilter">Reset filters</button>
277278
</div>
278-
<button @click="resetFilter">Reset filters</button>
279279
</fieldset>
280280
<p v-if="dataLoading && !data">Loading ...</p>
281281
<div v-if="data" id="content" style="margin-top: 15px">

site/static/compare/script.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -432,26 +432,19 @@ app.component('summary-table', {
432432
<td><SummaryRange :range="cases.regressions.range" /></td>
433433
<td><SummaryPercentValue :value="cases.regressions.average" /></td>
434434
<td><SummaryCount :cases="cases.regressions.count" :benchmarks="cases.regressions.benchmarks" /></td>
435-
<td>
436-
<svg style="width:16px;height:16px" viewBox="0 0 24 24">
437-
<path d="M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z"></path>
438-
</svg>
439-
</td>
435+
<td title="Regresions">❌</td>
440436
</tr>
441437
<tr class="negative">
442438
<td><SummaryRange :range="cases.improvements.range" /></td>
443439
<td><SummaryPercentValue :value="cases.improvements.average" /></td>
444440
<td><SummaryCount :cases="cases.improvements.count" :benchmarks="cases.improvements.benchmarks" /></td>
445-
<td>
446-
<svg style="width:16px;height:16px" viewBox="0 0 24 24">
447-
<path d="M16,18L18.29,15.71L13.41,10.83L9.41,14.83L2,7.41L3.41,6L9.41,12L13.41,8L19.71,14.29L22,12V18H16Z"></path>
448-
</svg>
449-
</td>
441+
<td title="Improvements">✅</td>
450442
</tr>
451443
<tr>
452444
<td><SummaryRange :range="cases.all.range" /></td>
453445
<td><SummaryPercentValue :value="cases.all.average" /></td>
454446
<td><SummaryCount :cases="cases.all.count" :benchmarks="cases.all.benchmarks" /></td>
447+
<td></td>
455448
</tr>
456449
</tbody>
457450
</table>

0 commit comments

Comments
 (0)