Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Issue 703453004: Plugin Power Saver: Add some UMAs to test plugins in wild. (Closed)

Created:
6 years, 1 month ago by tommycli
Modified:
6 years, 1 month ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plugin Power Saver: Add some UMAs to test plugins in wild. Collect some UMAs for expected plugin behavior, even when flag is off. We want to gather some data on how this feature impacts users before turning it on. Design doc: http://goo.gl/iDix3p BUG=403800 Committed: https://crrev.com/b997edc53d9bc1104e0231cf905925b6587898c0 Cr-Commit-Position: refs/heads/master@{#303201}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : removed plugininstancecreated #

Total comments: 8

Patch Set 7 : rebase on top of crash fix. address thestigcomments. #

Patch Set 8 : rebase onto master #

Patch Set 9 : add back plugininstancecreated uma #

Total comments: 12

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Total comments: 6

Patch Set 13 : try reupload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -23 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.h View 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +53 lines, -19 lines 0 comments Download
M content/renderer/pepper/plugin_power_saver_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +31 lines, -2 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (9 generated)
tommycli
thestig / groby: How does this set of UMAs?
6 years, 1 month ago (2014-11-04 19:55:37 UTC) #2
Lei Zhang
We should discuss whether we want to count plugin instances or pages or both.
6 years, 1 month ago (2014-11-04 20:25:28 UTC) #3
groby-ooo-7-16
We need both, I think. Which means we somewhere need per-page counts for these, bucketized ...
6 years, 1 month ago (2014-11-04 20:49:19 UTC) #4
tommycli
thestig/groby: Made the heuristic initial decision a histogram. I left the Flash.PluginInstanceCreated action alone, as ...
6 years, 1 month ago (2014-11-04 21:48:12 UTC) #5
tommycli
https://codereview.chromium.org/703453004/diff/40001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/703453004/diff/40001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode614 content/renderer/pepper/pepper_plugin_instance_impl.cc:614: base::UserMetricsAction("Flash.PluginInstancePeripheral")); On 2014/11/04 20:49:19, groby wrote: > Can we ...
6 years, 1 month ago (2014-11-04 21:48:29 UTC) #6
Lei Zhang
On 2014/11/04 21:48:12, tommycli wrote: > thestig/groby: Made the heuristic initial decision a histogram. > ...
6 years, 1 month ago (2014-11-04 21:56:18 UTC) #7
tommycli
On 2014/11/04 21:56:18, Lei Zhang wrote: > On 2014/11/04 21:48:12, tommycli wrote: > > thestig/groby: ...
6 years, 1 month ago (2014-11-04 22:07:39 UTC) #8
Lei Zhang
This looks like a per-plugin-instance histogram. Are we going to do per-page in this CL ...
6 years, 1 month ago (2014-11-05 01:23:50 UTC) #9
tommycli
thestig: addressed your comments https://codereview.chromium.org/703453004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (left): https://codereview.chromium.org/703453004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc#oldcode619 content/renderer/pepper/pepper_plugin_instance_impl.cc:619: RenderThread::Get()->RecordAction( On 2014/11/05 01:23:49, Lei ...
6 years, 1 month ago (2014-11-05 19:01:41 UTC) #10
tommycli
thestig: Added back the PluginInstanceCreated UMA. raymes/isherman: PTAL, thanks!
6 years, 1 month ago (2014-11-05 22:24:46 UTC) #14
Lei Zhang
lgtm
6 years, 1 month ago (2014-11-05 22:30:49 UTC) #15
Lei Zhang
https://codereview.chromium.org/703453004/diff/200001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/703453004/diff/200001/tools/metrics/histograms/histograms.xml#newcode25080 tools/metrics/histograms/histograms.xml:25080: + heuristic. Mention this is per instance.
6 years, 1 month ago (2014-11-05 22:32:56 UTC) #16
Ilya Sherman
https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc File content/renderer/pepper/plugin_power_saver_helper.cc (right): https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc#newcode109 content/renderer/pepper/plugin_power_saver_helper.cc:109: PERIPHERAL_HEURISTIC_DECISION_NUM_ITEMS); Optional nit: It's typically useful to define a ...
6 years, 1 month ago (2014-11-05 22:36:20 UTC) #17
tommycli
isherman: Addressed your comments. Thanks. https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc File content/renderer/pepper/plugin_power_saver_helper.cc (right): https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc#newcode109 content/renderer/pepper/plugin_power_saver_helper.cc:109: PERIPHERAL_HEURISTIC_DECISION_NUM_ITEMS); On 2014/11/05 22:36:19, ...
6 years, 1 month ago (2014-11-06 00:36:05 UTC) #18
raymes
https://codereview.chromium.org/703453004/diff/240001/content/renderer/pepper/pepper_plugin_instance_impl.h File content/renderer/pepper/pepper_plugin_instance_impl.h (right): https://codereview.chromium.org/703453004/diff/240001/content/renderer/pepper/pepper_plugin_instance_impl.h#newcode732 content/renderer/pepper/pepper_plugin_instance_impl.h:732: scoped_ptr<PepperPluginInstanceThrottler> throttler_; There's a growing number of power-saver related ...
6 years, 1 month ago (2014-11-06 02:11:00 UTC) #19
Ilya Sherman
https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc File content/renderer/pepper/plugin_power_saver_helper.cc (right): https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc#newcode109 content/renderer/pepper/plugin_power_saver_helper.cc:109: PERIPHERAL_HEURISTIC_DECISION_NUM_ITEMS); On 2014/11/06 00:36:05, tommycli wrote: > On 2014/11/05 ...
6 years, 1 month ago (2014-11-06 03:30:30 UTC) #20
tommycli
raymes, isherman: thanks, see below https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc File content/renderer/pepper/plugin_power_saver_helper.cc (right): https://codereview.chromium.org/703453004/diff/200001/content/renderer/pepper/plugin_power_saver_helper.cc#newcode109 content/renderer/pepper/plugin_power_saver_helper.cc:109: PERIPHERAL_HEURISTIC_DECISION_NUM_ITEMS); On 2014/11/06 03:30:30, ...
6 years, 1 month ago (2014-11-06 21:16:13 UTC) #21
raymes
https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1167 content/renderer/pepper/pepper_plugin_instance_impl.cc:1167: if (plugin_throttled_) { I'm not sure if this is ...
6 years, 1 month ago (2014-11-06 22:24:49 UTC) #22
tommycli
https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1167 content/renderer/pepper/pepper_plugin_instance_impl.cc:1167: if (plugin_throttled_) { On 2014/11/06 22:24:48, raymes wrote: > ...
6 years, 1 month ago (2014-11-06 22:33:36 UTC) #23
raymes
lgtm https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/703453004/diff/260001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1167 content/renderer/pepper/pepper_plugin_instance_impl.cc:1167: if (plugin_throttled_) { Ok yep I think I ...
6 years, 1 month ago (2014-11-06 22:37:45 UTC) #24
Ilya Sherman
Metrics LGTM, thanks. https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml#newcode2662 tools/metrics/actions/actions.xml:2662: <description>Count of Flash plugin instances.</description> nit: ...
6 years, 1 month ago (2014-11-06 23:52:05 UTC) #25
tommycli
isherman/raymes: Thanks! thestig: Feel free to object. https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml#newcode2662 tools/metrics/actions/actions.xml:2662: <description>Count of ...
6 years, 1 month ago (2014-11-07 00:16:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703453004/260001
6 years, 1 month ago (2014-11-07 00:19:29 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/22717)
6 years, 1 month ago (2014-11-07 00:30:48 UTC) #30
Lei Zhang
https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/703453004/diff/260001/tools/metrics/actions/actions.xml#newcode2662 tools/metrics/actions/actions.xml:2662: <description>Count of Flash plugin instances.</description> On 2014/11/06 23:52:05, Ilya ...
6 years, 1 month ago (2014-11-07 00:52:10 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703453004/280001
6 years, 1 month ago (2014-11-07 00:57:03 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/22732)
6 years, 1 month ago (2014-11-07 01:07:36 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703453004/280001
6 years, 1 month ago (2014-11-07 03:03:34 UTC) #37
commit-bot: I haz the power
Committed patchset #13 (id:280001)
6 years, 1 month ago (2014-11-07 07:09:24 UTC) #38
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 07:10:08 UTC) #39
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/b997edc53d9bc1104e0231cf905925b6587898c0
Cr-Commit-Position: refs/heads/master@{#303201}

Powered by Google App Engine
This is Rietveld 408576698