Add Navigation Timing Performance Logging for Client-Side Route Loads - #582
Merged
Chucks1093 merged 1 commit intoJul 25, 2026
Merged
Conversation
|
@Damilorlar Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
##closed #575
Implement client-side page load performance logging using the Navigation Timing API to provide visibility into route load times across the application. This feature will emit structured debug-level logs after each full page load, enabling production logs to identify slow-loading routes and support performance monitoring.
The implementation should read the PerformanceNavigationTiming entry after the page's load event has completed and emit a structured log containing the following fields:
route
dom_content_loaded_ms
load_event_ms
time_to_first_byte_ms
Logging should occur only after the load event has fully completed, ensuring that timing metrics are complete and accurate. If navigation timing data is unavailable for a route, the logger should skip emitting a log without producing errors or warnings.
Acceptance Criteria
Emit a debug-level log after each full page load.
Include the fields: route, dom_content_loaded_ms, load_event_ms, and time_to_first_byte_ms.
Do not emit logs before the page load event completes.
Silently skip logging when PerformanceNavigationTiming data is unavailable