Template
Api Timing
/ Client-side API call timing via the Resource Timing API. Polls performance.getEntriesByType('resource') for fetch/XHR entries, groups them by normalized route, and emits apicalltiming events to PostHog with p50/p90/max duration + TTFB. This captures the full round-trip la