Extract TTFB metric to getLoadingDurations util#47541
Conversation
|
Size Change: 0 B Total Size: 1.31 MB ℹ️ View Unchanged
|
1d2cb9e to
5d417ee
Compare
|
I'm a bit confused about the existing error:
There's no |
5d417ee to
f0bc52f
Compare
Hmm, I think this error is referring to the Reading this, perhaps we should be wrapping |
|
I believe this is because we run Maybe it's time to refactor this util to make it more resilient. Using |
|
Closing this for now, it doesn't seem the right approach. |
What?
Refactors the TimeToFirstByte performance metric to the
getLoadingDurationsutility.Why?
This makes it work like any other metric.
How?
By moving the calculation to the
getLoadingDurationsutility and use it directly in the test.Testing Instructions
Go to the performance CI job of this PR and verify that the front-end metrics are still reported and work as expected.