Skip to content

Commit

Permalink
Don't print new line after the benchmark name.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Mar 20, 2024
1 parent 771047b commit 6c7744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function logResult(
result: BenchmarkResult,
previousResult?: BenchmarkResult
): void {
console.log(result.label + `\n`);
console.log(result.label);
console.log(`time: ${resultToString(result)}`);

if (previousResult === undefined) return;
Expand Down

0 comments on commit 6c7744d

Please sign in to comment.