Skip to content

feat: add throughput column and trend to model rankings tab and CSV export - #5195

Merged
Pratham-Mishra04 merged 1 commit into
devfrom
07-14-feat_per_model_throughput_in_dashboard_ui
Jul 17, 2026
Merged

feat: add throughput column and trend to model rankings tab and CSV export#5195
Pratham-Mishra04 merged 1 commit into
devfrom
07-14-feat_per_model_throughput_in_dashboard_ui

Conversation

@impoiler

@impoiler impoiler commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds throughput (tokens/second) as a new metric to the model rankings table, enabling users to compare model output speed alongside existing metrics like latency, cost, and token usage.

Changes

  • Added throughput field to ModelRankingEntry and throughput_trend to ModelRankingTrend types
  • Added a sortable "Throughput" column to the model rankings table, displaying tokens/sec with a trend badge
  • Included throughput and throughput trend columns in the CSV export output

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (React)
  • Docs

How to test

Navigate to the workspace dashboard and open the Model Rankings tab. Verify:

  1. A "Throughput" column appears and displays tokens/sec values with trend badges
  2. Clicking the "Throughput" column header sorts the table correctly
  3. Exporting the rankings as CSV includes "Throughput (tok/s)" and "Throughput Trend (%)" columns with correct values
# UI
cd ui
pnpm i || npm i
pnpm test || npm test
pnpm build || npm run build

Screenshots/Recordings

Add before/after screenshots of the model rankings table showing the new Throughput column.

Breaking changes

  • Yes
  • No

Related issues

#1992
#5160

Security considerations

None.

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 40 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 62bfae09-84b7-4e00-b6d1-ef092d648d4d

📥 Commits

Reviewing files that changed from the base of the PR and between ced1727 and 863a517.

📒 Files selected for processing (3)
  • ui/app/workspace/dashboard/components/modelRankingsTab.tsx
  • ui/app/workspace/dashboard/utils/exportUtils.ts
  • ui/lib/types/logs.ts
📝 Walkthrough

Walkthrough

Model rankings now include typed throughput data, a sortable and formatted dashboard table column, and throughput fields in CSV exports with prior-period trend handling.

Changes

Model Ranking Throughput

Layer / File(s) Summary
Ranking data and CSV export
ui/lib/types/logs.ts, ui/app/workspace/dashboard/utils/exportUtils.ts
Model ranking entries and trends include throughput, and CSV exports add throughput and throughput trend columns.
Ranking table throughput display
ui/app/workspace/dashboard/components/modelRankingsTab.tsx
The rankings table adds a sortable Throughput column that formats values and displays throughput trends.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: akshaydeo, tejasghatte, pratham-mishra04

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding throughput to model rankings and CSV export.
Description check ✅ Passed The description covers the required sections with summary, changes, testing, screenshots, breaking changes, issues, security, and checklist.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 07-14-feat_per_model_throughput_in_dashboard_ui

Comment @coderabbitai help to get the list of available commands.

impoiler commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

@impoiler impoiler self-assigned this Jul 14, 2026
@impoiler impoiler changed the title feat: per model throughput in dashboard UI feat: add throughput column and trend to model rankings tab and CSV export Jul 14, 2026
@impoiler
impoiler marked this pull request as ready for review July 14, 2026 16:16
@greptile-apps

greptile-apps Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
ui/app/workspace/dashboard/components/modelRankingsTab.tsx Adds the throughput column, sorting option, formatted value, and trend badge to the model rankings table.
ui/app/workspace/dashboard/utils/exportUtils.ts Adds throughput and throughput trend values to the model rankings CSV output.
ui/lib/types/logs.ts Adds throughput fields to the model ranking response types.

Reviews (10): Last reviewed commit: "feat: per model throughput in dashboard ..." | Re-trigger Greptile

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@impoiler
impoiler force-pushed the 07-14-feat_per_models_throughput_for_dashboard branch from ad79849 to 427bb60 Compare July 14, 2026 16:57
@impoiler
impoiler force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch from 343d732 to 4a7673c Compare July 14, 2026 16:57
@impoiler
impoiler force-pushed the 07-14-feat_per_models_throughput_for_dashboard branch from 427bb60 to 311cb28 Compare July 14, 2026 17:00
@impoiler
impoiler force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch 2 times, most recently from 24307e6 to a9abd60 Compare July 14, 2026 17:10
@impoiler
impoiler force-pushed the 07-14-feat_per_models_throughput_for_dashboard branch 2 times, most recently from b6ddcbd to 484a7bc Compare July 14, 2026 17:20
@impoiler
impoiler force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch from a9abd60 to fffa7c3 Compare July 14, 2026 17:20
@impoiler
impoiler force-pushed the 07-14-feat_per_models_throughput_for_dashboard branch from 484a7bc to c2591af Compare July 15, 2026 02:41
@impoiler
impoiler force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch from fffa7c3 to ced1727 Compare July 15, 2026 02:41

Pratham-Mishra04 commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Merge activity

  • Jul 17, 11:05 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 17, 11:23 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 17, 11:25 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 17, 11:25 AM UTC: @Pratham-Mishra04 merged this pull request with Graphite.

@Pratham-Mishra04
Pratham-Mishra04 changed the base branch from 07-14-feat_per_models_throughput_for_dashboard to graphite-base/5195 July 17, 2026 11:15
@Pratham-Mishra04
Pratham-Mishra04 changed the base branch from graphite-base/5195 to dev July 17, 2026 11:22
@Pratham-Mishra04
Pratham-Mishra04 dismissed coderabbitai[bot]’s stale review July 17, 2026 11:22

The base branch was changed.

@Pratham-Mishra04
Pratham-Mishra04 force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch from bc25297 to 2e0d14b Compare July 17, 2026 11:22
@Pratham-Mishra04
Pratham-Mishra04 force-pushed the 07-14-feat_per_model_throughput_in_dashboard_ui branch from 2e0d14b to 863a517 Compare July 17, 2026 11:24
@Pratham-Mishra04
Pratham-Mishra04 merged commit a3847d2 into dev Jul 17, 2026
14 of 15 checks passed
@Pratham-Mishra04
Pratham-Mishra04 deleted the 07-14-feat_per_model_throughput_in_dashboard_ui branch July 17, 2026 11:25
akshaydeo pushed a commit that referenced this pull request Jul 17, 2026
…xport (#5195)

## Summary

Adds throughput (tokens/second) as a new metric to the model rankings table, enabling users to compare model output speed alongside existing metrics like latency, cost, and token usage.

## Changes

- Added `throughput` field to `ModelRankingEntry` and `throughput_trend` to `ModelRankingTrend` types
- Added a sortable "Throughput" column to the model rankings table, displaying tokens/sec with a trend badge
- Included throughput and throughput trend columns in the CSV export output

## Type of change

- [ ] Bug fix
- [x] Feature
- [ ] Refactor
- [ ] Documentation
- [ ] Chore/CI

## Affected areas

- [ ] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [ ] Plugins
- [x] UI (React)
- [ ] Docs

## How to test

Navigate to the workspace dashboard and open the Model Rankings tab. Verify:

1. A "Throughput" column appears and displays tokens/sec values with trend badges
2. Clicking the "Throughput" column header sorts the table correctly
3. Exporting the rankings as CSV includes "Throughput (tok/s)" and "Throughput Trend (%)" columns with correct values

```sh
# UI
cd ui
pnpm i || npm i
pnpm test || npm test
pnpm build || npm run build
```

## Screenshots/Recordings

_Add before/after screenshots of the model rankings table showing the new Throughput column._

## Breaking changes

- [ ] Yes
- [x] No

## Related issues  
#1992  
#5160

## Security considerations

None.

## Checklist

- [ ] I read `docs/contributing/README.md` and followed the guidelines
- [ ] I added/updated tests where appropriate
- [ ] I updated documentation where needed
- [ ] I verified builds succeed (Go and UI)
- [ ] I verified the CI pipeline passes locally if applicable
akshaydeo pushed a commit that referenced this pull request Jul 18, 2026
…xport (#5195)

## Summary

Adds throughput (tokens/second) as a new metric to the model rankings table, enabling users to compare model output speed alongside existing metrics like latency, cost, and token usage.

## Changes

- Added `throughput` field to `ModelRankingEntry` and `throughput_trend` to `ModelRankingTrend` types
- Added a sortable "Throughput" column to the model rankings table, displaying tokens/sec with a trend badge
- Included throughput and throughput trend columns in the CSV export output

## Type of change

- [ ] Bug fix
- [x] Feature
- [ ] Refactor
- [ ] Documentation
- [ ] Chore/CI

## Affected areas

- [ ] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [ ] Plugins
- [x] UI (React)
- [ ] Docs

## How to test

Navigate to the workspace dashboard and open the Model Rankings tab. Verify:

1. A "Throughput" column appears and displays tokens/sec values with trend badges
2. Clicking the "Throughput" column header sorts the table correctly
3. Exporting the rankings as CSV includes "Throughput (tok/s)" and "Throughput Trend (%)" columns with correct values

```sh
# UI
cd ui
pnpm i || npm i
pnpm test || npm test
pnpm build || npm run build
```

## Screenshots/Recordings

_Add before/after screenshots of the model rankings table showing the new Throughput column._

## Breaking changes

- [ ] Yes
- [x] No

## Related issues  
#1992  
#5160

## Security considerations

None.

## Checklist

- [ ] I read `docs/contributing/README.md` and followed the guidelines
- [ ] I added/updated tests where appropriate
- [ ] I updated documentation where needed
- [ ] I verified builds succeed (Go and UI)
- [ ] I verified the CI pipeline passes locally if applicable
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.

2 participants