Skip to content

Refactor to reduce code duplication in Tools/scripts/summarize_stats.py #110019

Closed
@mdboom

Description

@mdboom

Feature or enhancement

Proposal:

The summarize_stats.py script operates in two modes: single and comparison. It grew these two modes somewhat organically, and there is a lot of code duplication and opportunity for these two modes to diverge. By refactoring to have each of the tables know how to present themselves in both modes, we should reduce the overall amount of code and these kinds of bugs. This refactor should be helpful in advance of the many new stats we plan to add for the Tier 2 interpreter.

Cc: @brandtbucher, @markshannon

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

Related: #109329

Linked PRs

Metadata

Metadata

Assignees

Labels

type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions