Skip to content

Fix column alignment in harness-gc iteration output#500

Open
k0kubun wants to merge 1 commit intoruby:mainfrom
k0kubun:fix-gc-alignment
Open

Fix column alignment in harness-gc iteration output#500
k0kubun wants to merge 1 commit intoruby:mainfrom
k0kubun:fix-gc-alignment

Conversation

@k0kubun
Copy link
Member

@k0kubun k0kubun commented Mar 26, 2026

The marking, sweeping, and maj/min columns were wider than their headers, causing misaligned output.

Example

Before

  itr:   time   marking  sweeping  gc_count     major     minor  maj/min
   #1: 1063ms      68.0ms      34.0ms         3         1         2      0.50
   #2:  845ms       9.0ms       4.0ms         1         0         1      0.00

After

  itr:   time   marking  sweeping  gc_count     major     minor  maj/min
   #1: 1055ms    57.0ms    30.0ms         2         1         1     1.00
   #2:  850ms     8.0ms    12.0ms         1         0         1     0.00

The marking, sweeping, and maj/min columns were wider than their
headers, causing misaligned output.
@k0kubun k0kubun requested review from a team and eightbitraptor March 26, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant