Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57648, comment 10


Ignore:
Timestamp:
02/08/2023 10:14:31 PM (2 years ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57648, comment 10

    initial v1  
    11Replying to [comment:7 oandregal]:
    2 > @flixos90 I'm still at a loss as to how measure the `wp-*` metrics 😅 I've used the server-timing script before but I'd need to know ''where'' do you measure `wp-total`, `wp-template`, etc. for me to replicate.
     2> @flixos90 I'm still at a loss as to how measure the `wp-*` metrics I've used the server-timing script before but I'd need to know ''where'' do you measure `wp-total`, `wp-template`, etc. for me to replicate.
    33
    44Sorry about that, I still forgot to explain those specific metrics in my last comment. Hopefully I can clear things up here.
     
    1515
    1616The [https://gist.github.com/felixarntz/de5c697a1a16c2b892634b70216eb6c7 other Gist] that I shared in https://core.trac.wordpress.org/ticket/57648?replyto=7#comment:5 is simply a very lightweight version of what the Performance Lab plugin's Server-Timing feature provides a proper API for. So either can be used to get the same data.
     17
     18If you want to manually inspect Server-Timing data from the response headers, you can access them in the browser's dev console via `performance.getEntries()[0].serverTiming`.