aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/benchmark-builder/benchmark-builder.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/benchmark-builder/benchmark-builder.vue b/src/tools/benchmark-builder/benchmark-builder.vue
index f842cfb..f11a9dc 100644
--- a/src/tools/benchmark-builder/benchmark-builder.vue
+++ b/src/tools/benchmark-builder/benchmark-builder.vue
@@ -110,7 +110,7 @@ const results = computed(() => {
};
})
.sort((a, b) => a.mean - b.mean)
- .map(({ mean, variance, ...value }, index, suites) => {
+ .map(({ mean, variance, size, title }, index, suites) => {
const cleanUnit = unit.value.trim();
const bestMean: number = suites[0].mean;
const deltaWithBestMean = mean - bestMean;
@@ -121,9 +121,10 @@ const results = computed(() => {
return {
position: index + 1,
+ title,
mean: `${round(mean)}${cleanUnit}${comparisonValues}`,
variance: `${round(variance)}${cleanUnit}${cleanUnit ? '²' : ''}`,
- ...value,
+ size,
};
});
});