Skip to content

Record the marking time of each minor and major GC in harness-gc - #569

Open
thomasklemm wants to merge 1 commit into
ruby:mainfrom
thomasklemm:thomasklemm/gc-time-by-collection-type
Open

thomasklemm wants to merge 1 commit into
ruby:mainfrom
thomasklemm:thomasklemm/gc-time-by-collection-type

Conversation

@thomasklemm

@thomasklemm thomasklemm commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

@thomasklemm
thomasklemm marked this pull request as ready for review November 5, 2026 20:19
@thomasklemm
thomasklemm force-pushed the thomasklemm/gc-time-by-collection-type branch from 081b17e to 83dd344 Compare November 14, 2026 15:47
On Ruby 4.1, GC::Profiler records the marking wall time of each
collection. harness-gc now keeps it per iteration, split into minor and
major collections, and the GC tables show the average marking time of
one minor and one major collection. A major GC landing in a different
iteration no longer hides a change to the cost of a minor one, which is
where root-marking changes show.
@thomasklemm
thomasklemm force-pushed the thomasklemm/gc-time-by-collection-type branch from 83dd344 to bad4d5a Compare November 18, 2026 11:59
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