From: "rubyFeedback (robert heiler) via ruby-core" Date: 2023-02-21T15:44:06+00:00 Subject: [ruby-core:112524] [Ruby master Feature#19437] Add marking and sweeping time to GC.stat Issue #19437 has been updated by rubyFeedback (robert heiler). > You can show your support for this issue by clicking "like" in the top right corner Aha - I did not notice that before. > could you please refrain from commenting unless it's meaningfully contributing > to the discussion? This is a situational question, though, as to what is to be considered "meaningful". I don't mind using the "Like" part though; I did not notice this before. ---------------------------------------- Feature #19437: Add marking and sweeping time to GC.stat https://bugs.ruby-lang.org/issues/19437#change-101971 * Author: peterzhu2118 (Peter Zhu) * Status: Closed * Priority: Normal ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/