Skip to content

Commit dc2ac6a

Browse files
authored
Merge pull request #1774 from Kobzol/section-chart-hide
Hide section chart for binary size metric
2 parents 5367aad + c81214b commit dc2ac6a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/frontend/src/pages/compare/compile/table/benchmark-detail.vue

+6-2
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ onMounted(() => {
407407
<div ref="relativeChartElement"></div>
408408
</div>
409409
</div>
410-
<div class="columns">
411-
<div class="rows grow">
410+
<div class="columns" v-if="props.metric !== BINARY_SIZE_METRIC">
411+
<div class="rows center-items grow">
412412
<div class="title bold">
413413
Sections
414414
<Tooltip
@@ -419,6 +419,10 @@ onMounted(() => {
419419
based on wall-time.
420420
</Tooltip>
421421
</div>
422+
<div style="font-size: 0.8em">
423+
Note that the data for this chart is calculated from wall-time (it is
424+
metric agnostic)!
425+
</div>
422426
<div>
423427
<CompileSectionsChart
424428
v-if="

0 commit comments

Comments
 (0)