Skip to content

feat(report): group metrics by category in chart grid#189

Open
erhnysr wants to merge 1 commit into
base:mainfrom
erhnysr:feat/metric-grouping-in-chart-grid
Open

feat(report): group metrics by category in chart grid#189
erhnysr wants to merge 1 commit into
base:mainfrom
erhnysr:feat/metric-grouping-in-chart-grid

Conversation

@erhnysr
Copy link
Copy Markdown

@erhnysr erhnysr commented May 19, 2026

Closes #125

Problem

The RunComparison chart grid displayed all metrics as a flat list, making it hard to navigate when there are many metrics.

Solution

Metrics are now grouped under section headers:

  • Latency — send_txs, update_fork_choice, get_payload, new_payload
  • Chain — inserts, account/storage reads/updates/commits, execution, validation, write, snapshot, triedb
  • Throughput — transactions/per_block, gas/per_block

Changes

  • Added optional group field to ChartConfig type
  • Annotated all metrics in CHART_CONFIG with their group
  • Refactored ChartGrid to group visible charts by category and render section headers
  • Added CSS for group layout

Behaviour

Metrics with no group assigned fall into an Other section. Group order is: Latency → Chain → Throughput → Other.

Closes base#125

Adds metric grouping to the RunComparison chart grid. Metrics are now
displayed under section headers instead of a flat list:

- Latency: send_txs, update_fork_choice, get_payload, new_payload
- Chain: inserts, account/storage reads/updates/commits, execution,
  validation, write, snapshot, triedb
- Throughput: transactions/per_block, gas/per_block

Changes:
- Add optional group field to ChartConfig type
- Annotate all metrics in CHART_CONFIG with their group
- Refactor ChartGrid to group visible charts by category and render
  section headers between groups
- Add CSS for .metric-group, .metric-group-title, .metric-group-charts
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

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.

Add grouping for metrics on the results page

2 participants