To track the performance of a BigPipe page, you will want to track (at least):
The time when HTTP request was received
The time when Play app sent back the first bytes of the response
The time when each pagelet arrived in the browser.
The time it took to load each pagelet's dependencies
The time it took to render each pagelet
There are existing tools to measure (1) and (2), but we should add server-side hooks for (3), and client-side hooks for (3), (4), and (5). The client-side hooks could even have an optional Google Analytics integration.
To track the performance of a BigPipe page, you will want to track (at least):
There are existing tools to measure (1) and (2), but we should add server-side hooks for (3), and client-side hooks for (3), (4), and (5). The client-side hooks could even have an optional Google Analytics integration.