I'm planning to remove the WaitedForRendererSetup UMA as it hasn't been actionable and the start timings will be changed anyway.
For reference, the current metrics are:
Android Stable 67
WaitedForRendererSetup: ~50% waited
WaitedForRendererSetup.Time: 350/1400/2700 (50p/95p/99p)
StartMessageLatency: 130/1000/2200 (50p/95p/99p)
Desktop Stable 67
WaitedForRendererSetup: ~15% waited
WaitedForRendererSetup.Time: 200/2300/6000 (50p/95p/99p)
StartMessageLatency: 10/550/2700 (50p/95p/99p)
I think this is the most I intend to do with this. Future ideas:
* Remove OnReadyForInspection when the shadow page is gone.
* Remove OnStarted and make it a callback on Start().
* Remove OnStopped in favor of Mojo binding disconnection.
* Unify all the "SW worker host" interfaces/classes into a single one: there is EmbeddedWorkerInstance, ServiceWorkerVersion, and ServiceWorkerProviderHost. I'd prefer ServiceWorkerProviderHost (or some new class carved out of it) be used as the SWHost, and SWVersion be used for persistent storage/lifetime concerns, and EWI could hopefully be merged somewhere else.
Comment 1 by bugdroid1@chromium.org
, Jun 25 2018