Skip to content

Track GC stats #276

Open
Open
@rwstauner

Description

We should update the harness to collect GC.stat(:time) and possibly :minor_gc_count, :major_gc_count, and maybe things like total_allocated_objects

@tenderworks observed that at the start of 3.4.0dev the chunkypng was spending about 100ms in GC.
On the latest master (around "b182f2a04520a0138992b27f9e6bfd15bdfd6f96") it is spending 130ms in GC.

We should decide if there's anything else we'd like to add to the harness and start collecting the data.
Then we can decide how we might want to visualize it:

  • If we collect multiple numbers we could probably use another table.
  • Do we just want to add a bar chart for it?
  • Do we want to include gc time in any of our other calculations?

We already have an "over time" view of some of the yjit stats:
https://speed.yjit.org/stats-timeline.html#side_exits+overall-mean+activerecord+liquid-render+optcarrot+railsbench
Maybe we'd want to add this to that list.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions