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

Issue 2561353002: tools: WPR support for testing speculative_prefetch_predictor. (Closed)

Created:
4 years ago by Benoit L
Modified:
4 years ago
Reviewers:
pasko
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools: WPR support for testing speculative_prefetch_predictor. This CL adds support for WPR and network throttling (through WPR) for testing the speculative_prefetch_predictor. The modifications are: - Generate a WPR archive in generate_database.py - Use the archive and set up throttling in prefetch_benchmark. Also adds the ability to test several configuration of the predictor in prefetch_benchmark, and make it loop. BUG=655980 Committed: https://crrev.com/97d8cd800fa13dd25749d99a92540acb0e278b36 Cr-Commit-Position: refs/heads/master@{#439131}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Address comments. #

Patch Set 4 : /facepalm #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -123 lines) Patch
M tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py View 1 4 chunks +7 lines, -8 lines 0 comments Download
M tools/resource_prefetch_predictor/generate_database.py View 1 2 1 chunk +0 lines, -94 lines 0 comments Download
A + tools/resource_prefetch_predictor/generate_test_data.py View 1 2 5 chunks +21 lines, -6 lines 0 comments Download
M tools/resource_prefetch_predictor/prefetch_benchmark.py View 1 2 3 4 5 5 chunks +50 lines, -15 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Benoit L
4 years ago (2016-12-09 15:17:28 UTC) #2
pasko
https://codereview.chromium.org/2561353002/diff/1/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py File tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py (right): https://codereview.chromium.org/2561353002/diff/1/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py#newcode1 tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py:1: #!/usr/bin/python toplevel note: please start including alexilin@ as a ...
4 years ago (2016-12-12 18:07:10 UTC) #3
Benoit L
Thanks! https://codereview.chromium.org/2561353002/diff/1/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py File tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py (right): https://codereview.chromium.org/2561353002/diff/1/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py#newcode1 tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py:1: #!/usr/bin/python On 2016/12/12 18:07:09, pasko wrote: > toplevel ...
4 years ago (2016-12-14 17:39:40 UTC) #4
pasko
More suggestions on file naming and flag usability. I think those are the last suggestions ...
4 years ago (2016-12-14 19:38:34 UTC) #5
Benoit L
Thanks! https://codereview.chromium.org/2561353002/diff/1/tools/resource_prefetch_predictor/generate_database.py File tools/resource_prefetch_predictor/generate_database.py (right): https://codereview.chromium.org/2561353002/diff/1/tools/resource_prefetch_predictor/generate_database.py#newcode9 tools/resource_prefetch_predictor/generate_database.py:9: Also generates a WPR archive for another page. ...
4 years ago (2016-12-16 14:27:00 UTC) #6
pasko
lgtm https://codereview.chromium.org/2561353002/diff/1/tools/resource_prefetch_predictor/prefetch_benchmark.py File tools/resource_prefetch_predictor/prefetch_benchmark.py (right): https://codereview.chromium.org/2561353002/diff/1/tools/resource_prefetch_predictor/prefetch_benchmark.py#newcode53 tools/resource_prefetch_predictor/prefetch_benchmark.py:53: 'prefetch. Runs will randomly select one delay in ...
4 years ago (2016-12-16 16:49:55 UTC) #7
Benoit L
https://codereview.chromium.org/2561353002/diff/60001/tools/resource_prefetch_predictor/prefetch_benchmark.py File tools/resource_prefetch_predictor/prefetch_benchmark.py (right): https://codereview.chromium.org/2561353002/diff/60001/tools/resource_prefetch_predictor/prefetch_benchmark.py#newcode117 tools/resource_prefetch_predictor/prefetch_benchmark.py:117: logging.info('WPR arguments: ' + ','.join(wpr.chrome_args)) On 2016/12/16 16:49:55, pasko ...
4 years ago (2016-12-16 17:08:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2561353002/100001
4 years ago (2016-12-16 17:08:56 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-16 17:20:38 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-16 17:22:29 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/97d8cd800fa13dd25749d99a92540acb0e278b36
Cr-Commit-Position: refs/heads/master@{#439131}

Powered by Google App Engine
This is Rietveld 408576698