Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/reporter/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function drawBar(

const displayedSamples = `${styleText(["yellow"], samples.toString().padStart(2))} samples`;

return `${label} | ${bar} | ${displayedValue} ${displayedMetric} | ${displayedSamples} ${comment}\n`;
return `${label} ${bar} ${displayedValue} ${displayedMetric} | ${displayedSamples} ${comment}\n`;
}

const formatter = Intl.NumberFormat(undefined, {
Expand Down
4 changes: 2 additions & 2 deletions test/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe("chartReport", () => {
});

it("should pad out benchmark names", () => {
assert.ok(output.includes("oong | "));
assert.ok(output.includes("oong ▏█"));
assert.ok(output.includes("multiple replaces".padEnd(51)));
});
});
Expand Down Expand Up @@ -534,7 +534,7 @@ describe("baseline comparisons", async (t) => {

it("can set a specific column width", () => {
const summary = output.split("Summary (vs. baseline):")[1];
assert.ok(summary.includes("baseline-test |"));
assert.ok(summary.includes("baseline-test "));
});
});
});
Expand Down
Loading