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

Issue 789003002: Add telemetry test for paper calculator hit testing performance. (Closed)

Created:
6 years ago by Zeeshan Qureshi
Modified:
6 years ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add telemetry test for paper calculator hit testing performance. This CL adds a new page set |key_hit_test_cases|, the reason to have a separate set is that we only get meaningful data for |thread_times| and adding it to |key_silk_cases| would clutter the smoothness numbers. The main metric is |renderer_main_cpu_time_per_frame|, since the page doesn't do any rendering, all the hit tests get counted under a single frame budget, which can be used as a signal for the total cost. BUG=426406 Committed: https://crrev.com/fafaad6de1e2441262a274385de89e662a2df605 Cr-Commit-Position: refs/heads/master@{#308052}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Name key_hit_test_pages and vulcanize paper calculator #

Total comments: 2

Patch Set 3 : Move run_smoothness up to base #

Total comments: 4

Patch Set 4 : Add line after header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -0 lines) Patch
M tools/perf/benchmarks/thread_times.py View 1 1 chunk +5 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_hit_test_cases.py View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_hit_test_cases/paper-calculator-no-rendering.html View 1 1 chunk +135 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (6 generated)
Zeeshan Qureshi
Rick, WDYT?
6 years ago (2014-12-10 00:31:59 UTC) #2
Rick Byers
Thanks for getting this up Zeeshan! I'm excited to have some perf coverage for hit-testing ...
6 years ago (2014-12-10 02:56:43 UTC) #3
Yufeng Shen (Slow to review)
https://codereview.chromium.org/789003002/diff/20001/tools/perf/page_sets/key_hit_test_cases.py File tools/perf/page_sets/key_hit_test_cases.py (right): https://codereview.chromium.org/789003002/diff/20001/tools/perf/page_sets/key_hit_test_cases.py#newcode19 tools/perf/page_sets/key_hit_test_cases.py:19: def RunSmoothness(self, action_runner): we probably don't need this. No ...
6 years ago (2014-12-10 20:17:39 UTC) #5
Yufeng Shen (Slow to review)
On 2014/12/10 02:56:43, Rick Byers wrote: > Thanks for getting this up Zeeshan! I'm excited ...
6 years ago (2014-12-10 20:21:52 UTC) #6
Yufeng Shen (Slow to review)
+ Ned who's expert on telemetry.
6 years ago (2014-12-10 20:22:49 UTC) #8
Zeeshan Qureshi
Thanks, Rick. Changed the name to |key_hit_test_cases|, I think we agreed on that during our ...
6 years ago (2014-12-10 20:34:26 UTC) #9
Zeeshan Qureshi
https://codereview.chromium.org/789003002/diff/20001/tools/perf/page_sets/key_hit_test_cases.py File tools/perf/page_sets/key_hit_test_cases.py (right): https://codereview.chromium.org/789003002/diff/20001/tools/perf/page_sets/key_hit_test_cases.py#newcode19 tools/perf/page_sets/key_hit_test_cases.py:19: def RunSmoothness(self, action_runner): On 2014/12/10 20:17:39, Yufeng Shen wrote: ...
6 years ago (2014-12-10 20:36:25 UTC) #10
jdduke (slow)
What do the numbers look like here when you test locally? e.g., if you double ...
6 years ago (2014-12-10 22:27:14 UTC) #12
nednguyen
With jdduke's comment: please check to make sure that you get meaningful metrics out of ...
6 years ago (2014-12-10 22:33:50 UTC) #13
Zeeshan Qureshi
The main metric is |renderer_main_cpu_time_per_frame| since the page doesn't do any rendering, all the hit ...
6 years ago (2014-12-11 19:17:30 UTC) #14
Zeeshan Qureshi
Each run included repeating the page 10 times.
6 years ago (2014-12-11 19:19:31 UTC) #15
jdduke (slow)
On 2014/12/11 19:17:30, Zeeshan Qureshi wrote: > The main metric is |renderer_main_cpu_time_per_frame| since the page ...
6 years ago (2014-12-11 19:23:22 UTC) #16
Rick Byers
LGTM Please add some text to the CL description (or possibly better - as a ...
6 years ago (2014-12-11 22:21:26 UTC) #17
Zeeshan Qureshi
On 2014/12/11 22:21:26, Rick Byers wrote: > LGTM > > Please add some text to ...
6 years ago (2014-12-12 00:10:52 UTC) #18
Zeeshan Qureshi
+Nat for OWNERS https://codereview.chromium.org/789003002/diff/40001/tools/perf/page_sets/key_hit_test_cases.py File tools/perf/page_sets/key_hit_test_cases.py (right): https://codereview.chromium.org/789003002/diff/40001/tools/perf/page_sets/key_hit_test_cases.py#newcode3 tools/perf/page_sets/key_hit_test_cases.py:3: # found in the LICENSE file. ...
6 years ago (2014-12-12 01:05:30 UTC) #20
nednguyen
On 2014/12/12 01:05:30, Zeeshan Qureshi wrote: > +Nat for OWNERS > > https://codereview.chromium.org/789003002/diff/40001/tools/perf/page_sets/key_hit_test_cases.py > File ...
6 years ago (2014-12-12 02:00:45 UTC) #21
Zeeshan Qureshi
> Ok if that is your plan. I can do owner stamp if you want. ...
6 years ago (2014-12-12 02:47:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789003002/60001
6 years ago (2014-12-12 02:49:07 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-12 04:55:37 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/fafaad6de1e2441262a274385de89e662a2df605 Cr-Commit-Position: refs/heads/master@{#308052}
6 years ago (2014-12-12 04:56:22 UTC) #26
Rick Byers
6 years ago (2014-12-12 16:57:04 UTC) #27
Message was sent while issue was closed.
On 2014/12/12 00:10:52, Zeeshan Qureshi wrote:
> On 2014/12/11 22:21:26, Rick Byers wrote:
> > LGTM
> > 
> > Please add some text to the CL description (or possibly better - as a
comment
> in
> > the pageset) which explains how to re-create this HTML file in case someone
> > needs to update it later.  In particular, a link to your GitHub commit which
> > modifies the polymer paper calculator would probably be ideal. 
> 
> Already in the comments in file.

Duh, sorry - not sure how I missed that.  Looks great!

Powered by Google App Engine
This is Rietveld 408576698