Skip to content

Add Navigation Timing Performance Logging for Client-Side Route Loads - #582

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Damilorlar:feat/navigation-timing-logging
Jul 25, 2026
Merged

Add Navigation Timing Performance Logging for Client-Side Route Loads#582
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Damilorlar:feat/navigation-timing-logging

Conversation

@Damilorlar

Copy link
Copy Markdown
Contributor

##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

@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 7bd0c10 into accesslayerorg:dev Jul 25, 2026
1 check passed
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.

Add structured log for page load performance using Navigation Timing API

2 participants