Closed
Bug 1118762
Opened 10 years ago
Closed 9 years ago
Plugin initialization analysis
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rvitillo, Assigned: rvitillo)
Details
Requested by Aaron: I've recently added some new telemetry to Nightly and Aurora to measure main thread blockage due to plugin initialization. These measurements will be used to quantify the benefits of the async init patches. In particular, we now have the following keyed histograms: BLOCKED_ON_PLUGIN_MODULE_INIT_MS BLOCKED_ON_PLUGIN_INSTANCE_INIT_MS BLOCKED_ON_PLUGIN_STREAM_INIT_MS BLOCKED_ON_PLUGIN_INSTANCE_DESTROY_MS All of these histograms are keyed on the plugin name and version, concatenated together. For example, "Shockwave Flash16.0.0.235" Vladan is looking for some summary statistics to verify that we are measuring everything correctly. He'd like to see the percentiles for each group, with the histograms being grouped together per-plugin and per-OS (e.g. flash 16.0.0.235 on Windows).
Assignee | ||
Comment 1•10 years ago
|
||
The analysis compares the above mentioned histograms with and without async initialization enabled for the top 5 plugins on Windows, OSX and Linux: http://nbviewer.ipython.org/gist/vitillo/38d1a95fa1fe654bb9e5
Flags: needinfo?(vdjeric)
Flags: needinfo?(aklotz)
Comment 2•10 years ago
|
||
Something here doesn't look right; the distribution in async histograms should significantly differ from the sync case (except for BLOCKED_ON_PLUGIN_INSTANCE_DESTROY_MS). I wonder if there's a problem with the telemetry data in the async case...
Flags: needinfo?(aklotz)
Assignee | ||
Comment 3•10 years ago
|
||
Per discussion on IRC, in some cases the BLOCKED_ON_PLUGINASYNCSURROGATE_WAITFORINIT_MS histogram exists also when async initialization is not enabled.
Comment 4•10 years ago
|
||
= The BLOCKED_ON_PLUGIN_INSTANCE_DESTROY_MS measurement improved on Flash/WinNT and regressed on Flash/Linux and Flash/Darwin. It should not have been affected by this patch. I guess this is on account of the same issue pointed out in comment 3 - What is "Plugins PDK"? is it supposed to be PDF?
Flags: needinfo?(vdjeric)
Assignee | ||
Comment 5•10 years ago
|
||
I updated the analysis by ignoring the submissions with an existing but empty BLOCKED_ON_PLUGINASYNCSURROGATE_WAITFORINIT_MS histogram.
Flags: needinfo?(aklotz)
Comment 6•10 years ago
|
||
Thanks, Roberto. This version is in line with my expectations. Some comments: We have a very low sample size in the async init case at the moment, hence the differences on the plugin destruction histogram. The other histograms are more or less in line with my expectations. Note that on Windows we can improve BLOCKED_ON_PLUGIN_MODULE_INIT_MS significantly by landing bug 1115438.
Flags: needinfo?(aklotz)
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•