Project

General

Profile

Actions

Feature #19437

closed

Add marking and sweeping time to GC.stat

Added by peterzhu2118 (Peter Zhu) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:112427]

Description

Pull Request: https://github.com/ruby/ruby/pull/7304

There is a time key in GC.stat that gives us the total time spent in GC. However, we don't know what proportion of the time is spent between marking and sweeping. This makes it difficult to tune the GC as we're not sure where to focus our efforts on.

This PR adds keys marking_time and sweeping_time to GC.stat for the time spent marking and sweeping, in milliseconds.

Actions

Also available in: Atom PDF

Like3
Like0Like1Like0Like0Like0Like0Like0