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

Issue 300413002: Add simple pepper plugin telemetry test (Closed)

Created:
6 years, 6 months ago by Yufeng Shen (Slow to review)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org, Rick Byers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add simple pepper plugin telemetry test A simple touch drawing pepper plugin is created using pnacl. A telemetry test page simple_pepper_plugin.html is added, which injects touch moves events to the plugin. Smoothness and input latency metrics are collected from this test. BUG=355719 TEST=./run_measurement --browser=cros-chrome --remote=XXX scheduler.tough_pepper_cases --profiler=trace In the trace there is latency info for the plugin touch events. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276257

Patch Set 1 #

Total comments: 15

Patch Set 2 : move the touch_drawing_plugin.cc to be together with the pexe file #

Total comments: 1

Patch Set 3 : created new page_set tough_pepper_cases and benchmark scheduler.tough_pepper_cases #

Patch Set 4 : better formattting #

Total comments: 3

Patch Set 5 : rebase #

Patch Set 6 : fix formating #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -7 lines) Patch
M tools/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/benchmarks/scheduler.py View 1 2 3 5 1 chunk +10 lines, -0 lines 0 comments Download
A tools/perf/page_sets/tough_pepper_cases.py View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A + tools/perf/page_sets/tough_pepper_cases/extra_data/Makefile View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
A tools/perf/page_sets/tough_pepper_cases/extra_data/README View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A tools/perf/page_sets/tough_pepper_cases/extra_data/touch_drawing_plugin.cc View 1 2 1 chunk +140 lines, -0 lines 0 comments Download
A + tools/perf/page_sets/tough_pepper_cases/extra_data/touch_drawing_plugin.nmf View 1 2 1 chunk +1 line, -1 line 0 comments Download
A tools/perf/page_sets/tough_pepper_cases/extra_data/touch_drawing_plugin.pexe View 1 2 Binary file 0 comments Download
A tools/perf/page_sets/tough_pepper_cases/simple_pepper_plugin.html View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Yufeng Shen (Slow to review)
David, the touch_drawing_plugin.pexe is generated from source touch_drawing_plugin.cc. I am not sure where is best ...
6 years, 6 months ago (2014-05-29 00:04:37 UTC) #1
Rick Byers
This seems reasonable to me, thanks! But I'm not very familiar with pepper plugins - ...
6 years, 6 months ago (2014-05-29 03:28:08 UTC) #2
dmichael (off chromium)
https://codereview.chromium.org/300413002/diff/1/ppapi/examples/input/touch_drawing_plugin.cc File ppapi/examples/input/touch_drawing_plugin.cc (right): https://codereview.chromium.org/300413002/diff/1/ppapi/examples/input/touch_drawing_plugin.cc#newcode1 ppapi/examples/input/touch_drawing_plugin.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 6 months ago (2014-05-29 16:28:03 UTC) #3
Yufeng Shen (Slow to review)
https://codereview.chromium.org/300413002/diff/1/ppapi/examples/input/touch_drawing_plugin.cc File ppapi/examples/input/touch_drawing_plugin.cc (right): https://codereview.chromium.org/300413002/diff/1/ppapi/examples/input/touch_drawing_plugin.cc#newcode1 ppapi/examples/input/touch_drawing_plugin.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 6 months ago (2014-05-29 18:29:20 UTC) #4
dmichael (off chromium)
lgtm from a pepper perspective, though you don't need my review anymore ;-)
6 years, 6 months ago (2014-05-29 18:42:38 UTC) #5
nduca
https://codereview.chromium.org/300413002/diff/20001/tools/perf/page_sets/tough_scheduling_cases.py File tools/perf/page_sets/tough_scheduling_cases.py (right): https://codereview.chromium.org/300413002/diff/20001/tools/perf/page_sets/tough_scheduling_cases.py#newcode330 tools/perf/page_sets/tough_scheduling_cases.py:330: def RunSmoothness(self, action_runner): can you ask nednguyen how to ...
6 years, 6 months ago (2014-06-02 20:40:17 UTC) #6
nduca
lgtm for me, but please get lg from nednguyen for committing
6 years, 6 months ago (2014-06-02 20:41:17 UTC) #7
nednguyen
On 2014/06/02 20:41:17, nduca wrote: > lgtm for me, but please get lg from nednguyen ...
6 years, 6 months ago (2014-06-02 20:47:33 UTC) #8
tonyg
On 2014/06/02 20:47:33, nednguyen wrote: > On 2014/06/02 20:41:17, nduca wrote: > > lgtm for ...
6 years, 6 months ago (2014-06-05 01:06:57 UTC) #9
nednguyen
On 2014/06/05 01:06:57, tonyg wrote: > On 2014/06/02 20:47:33, nednguyen wrote: > > On 2014/06/02 ...
6 years, 6 months ago (2014-06-05 01:34:52 UTC) #10
Yufeng Shen (Slow to review)
A new page_set tough_pepper_cases and benchmark scheduler.tough_pepper_cases are created. Ned, Tony, PTAL.
6 years, 6 months ago (2014-06-05 18:23:16 UTC) #11
nednguyen
https://codereview.chromium.org/300413002/diff/50001/tools/perf/benchmarks/scheduler.py File tools/perf/benchmarks/scheduler.py (right): https://codereview.chromium.org/300413002/diff/50001/tools/perf/benchmarks/scheduler.py#newcode24 tools/perf/benchmarks/scheduler.py:24: page_set = 'page_sets/tough_pepper_cases.py' This should be tough_pepper_cases.ToughPepperCases with Dave's ...
6 years, 6 months ago (2014-06-06 01:56:38 UTC) #12
Yufeng Shen (Slow to review)
https://codereview.chromium.org/300413002/diff/50001/tools/perf/benchmarks/scheduler.py File tools/perf/benchmarks/scheduler.py (right): https://codereview.chromium.org/300413002/diff/50001/tools/perf/benchmarks/scheduler.py#newcode28 tools/perf/benchmarks/scheduler.py:28: options.AppendExtraBrowserArgs('--enable-pepper-testing') On 2014/06/06 01:56:37, nednguyen wrote: > This will ...
6 years, 6 months ago (2014-06-06 16:15:19 UTC) #13
Yufeng Shen (Slow to review)
6 years, 6 months ago (2014-06-06 16:15:20 UTC) #14
nduca
Yes you need to make it not run on old browsers.
6 years, 6 months ago (2014-06-10 18:00:38 UTC) #15
nduca
Actually, we don't expose chrome_branch_number publically --- its only on the backends. Lets keep it ...
6 years, 6 months ago (2014-06-10 18:06:46 UTC) #16
Yufeng Shen (Slow to review)
On 2014/06/10 18:06:46, nduca wrote: > Actually, we don't expose chrome_branch_number publically --- its only ...
6 years, 6 months ago (2014-06-10 18:29:44 UTC) #17
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 6 months ago (2014-06-10 18:30:00 UTC) #18
Yufeng Shen (Slow to review)
The CQ bit was unchecked by miletus@chromium.org
6 years, 6 months ago (2014-06-10 18:30:38 UTC) #19
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 6 months ago (2014-06-10 18:40:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/300413002/90001
6 years, 6 months ago (2014-06-10 18:42:29 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 04:44:46 UTC) #22
Message was sent while issue was closed.
Change committed as 276257

Powered by Google App Engine
This is Rietveld 408576698