query-monitor icon indicating copy to clipboard operation
query-monitor copied to clipboard

Server Timing API

Open johnbillion opened this issue 7 years ago • 3 comments

The Server Timing API will appear in Chrome stable soon.

I've already messed around with an implementation in QM but I didn't find it very useful. Maybe it needs some more thought.

c4v9b66xaaakvqj

johnbillion avatar Feb 10 '18 10:02 johnbillion

Really the only thing I can think of that would make sense, is the amount of time that QM (collectors and output) adds to the document's response; would be helpful for gaining a more accurate understanding of QM's impact when evaluating a page's performance.

Perhaps QM could use #309 to time itself?

crstauf avatar Mar 13 '18 04:03 crstauf

I didn't find it very useful

Could this be useful to measure/debug the time each plugin is taking to load? (or there another way to do that already?)

adamsilverstein avatar Jan 20 '23 00:01 adamsilverstein

or there another way to do that already?

You could use QM's timing functions on plugin_loaded and plugins_loaded actions.

crstauf avatar Jan 20 '23 01:01 crstauf