[code-infra] Add benchmark visualization to dashboard#1277
Draft
[code-infra] Add benchmark visualization to dashboard#1277
Conversation
Bundle size report
Check out the code infra dashboard for more information about this PR. |
692d204 to
d223c3e
Compare
Add dashboard views for performance benchmark data uploaded to S3: - Timeline chart with duration line/stacked bar and render count modes - Single report detail view with flame-chart-like render timeline - Two-report comparison view with noise detection via stdDev - Extract shared useDailyReportHistory hook from useDailyCommitHistory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…etails - Add base-ui-charts, base-ui-mosaic, and mui-private repository cards - Show info alert instead of fetching data for private repositories - Fix duplicate React key in benchmark render charts - Sort benchmark regressions (red) before improvements (green) by abs diff - Show (+0) instead of (0) for zero render count diffs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Create a shared comparison data model (DiffValue, ComparisonItem) that both the React UI and a new markdown report builder consume. Extract inline diff logic from BenchmarkDetails into compareBenchmarkReports, move formatters to a shared utility, add totals summary, tooltips with severity hints, and a markdown report dialog. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d223c3e to
a0c2099
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds benchmark visualization to the code-infra dashboard. Repositories that upload
benchmark.jsonto S3 now get timeline charts showing duration and render counts over time, a detail view with per-render stats, and a comparison view that diffs two commits with noise detection based on standard deviation.Also consolidates the repository configuration in
constants.ts— therepositoriesarray is now aMapkeyed byowner/name,MUI_KPI_REPOSselects from it, and the separateKpiRepotype is removed.Supersedes #1246 (closed due to branch issue during rebase).