Skip to content

Fix column alignment in harness-gc iteration output#500

Merged
k0kubun merged 1 commit intoruby:mainfrom
k0kubun:fix-gc-alignment
Mar 27, 2026
Merged

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

Conversation

@k0kubun
Copy link
Copy Markdown
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
@k0kubun k0kubun merged commit 4ab440a into ruby:main Mar 27, 2026
11 checks passed
@k0kubun k0kubun deleted the fix-gc-alignment branch March 27, 2026 20:20
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.

2 participants