feat: add throughput column and trend to model rankings tab and CSV export - #5195
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 40 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughModel rankings now include typed throughput data, a sortable and formatted dashboard table column, and throughput fields in CSV exports with prior-period trend handling. ChangesModel Ranking Throughput
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (10): Last reviewed commit: "feat: per model throughput in dashboard ..." | Re-trigger Greptile |
ad79849 to
427bb60
Compare
343d732 to
4a7673c
Compare
427bb60 to
311cb28
Compare
24307e6 to
a9abd60
Compare
b6ddcbd to
484a7bc
Compare
a9abd60 to
fffa7c3
Compare
484a7bc to
c2591af
Compare
fffa7c3 to
ced1727
Compare
ced1727 to
bc25297
Compare
c2591af to
7823edb
Compare
Merge activity
|
The base branch was changed.
bc25297 to
2e0d14b
Compare
2e0d14b to
863a517
Compare
…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
…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

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
throughputfield toModelRankingEntryandthroughput_trendtoModelRankingTrendtypesType of change
Affected areas
How to test
Navigate to the workspace dashboard and open the Model Rankings tab. Verify:
Screenshots/Recordings
Add before/after screenshots of the model rankings table showing the new Throughput column.
Breaking changes
Related issues
#1992
#5160
Security considerations
None.
Checklist
docs/contributing/README.mdand followed the guidelines