Repository navigation
Performance: slow routes and slow pages tables - #596
Merged
Merged
Conversation
Surface the slowest $request routes and $web_vital pages for the selected dashboard scope so developers can spot latency regressions without leaving Performance (#196). Co-authored-by: Cursor <[email protected]>
Sessions free-text search does not match page paths, so route drill-downs to `$web_vital` Events instead of a misleading Sessions `q` filter. Co-authored-by: Cursor <[email protected]>
Events list filtering ignores compare params, so slow-route/page links now use the table's resolved since/until as a custom range instead of forwarding calendar compare modes that would show a mismatched window. Co-authored-by: Cursor <[email protected]>
Collaborator
Author
|
bugbot run |
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cf773d0. Configure here.
Clear routesPage/pagesPage when the shared time-range picker changes filters, and push slow-route/page sort+LIMIT into SQL so we no longer materialize every aggregated path in Node for a single page. Co-authored-by: Cursor <[email protected]>
Collaborator
Author
|
bugbot run |
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_4c488e69-144d-4ffa-9742-b2454bcfafcb) |
Group absolute and relative $request URLs on the same path so hosts and query strings do not split slow-route rows. Co-authored-by: Cursor <[email protected]>
Pick up BUGBOT_REVIEW_ENABLED=false no-op gate from #597.
2 of 7 tasks
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
/api/performance/slow-routesand/api/performance/slow-pagesaggregations (p50/p95 + error rate for$request; LCP p75 + CLS + samples for$web_vital), with deterministic sort, pagination, and small-sample flags/dashboard/performancewith loading/empty/error states and scope-preserving deep links to EventsTest plan
$requestdata → Slow routes shows method/path/count/p50/p95/error rate, sorted by p95$web_vitaldata → Slow pages shows path/LCP/CLS/samples; rows with n<5 show Low nroutesPage/pagesPage) and confirm scope filters are preserved$request+ method/path$web_vital+ pathpnpm lint && pnpm test && pnpm buildMade with Cursor