Skip to content

Commit

Permalink
refactor: refine benchmark time measurement displaying
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
jerome-benoit committed Sep 29, 2024
1 parent c2ad613 commit c5e2c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporter/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function benchmark(
return `${name.padEnd(size, ' ')}${
!avg
? ''
: `${clr.yellow(colors, duration(stats.avg))}/iter`.padStart(
: `${clr.yellow(colors, duration(stats.avg))}`.padStart(
14 + 10 * colors,
' '
)
Expand Down

0 comments on commit c5e2c8e

Please sign in to comment.