$subj.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a181b9af5728c5989e048fa51caf881e124e7c16 commit a181b9af5728c5989e048fa51caf881e124e7c16 Author: lizeb <lizeb@chromium.org> Date: Fri Oct 14 13:46:00 2016 tools: Extend the CustomTabs benchmark scripts to speculative_prefetch. This extends the Custom Tabs benchmark scripts to also be useful for speculative prefetch evaluation. Also a bunch of small cleanups (including making the linter happy). BUG=655980 Review-Url: https://codereview.chromium.org/2414363002 Cr-Commit-Position: refs/heads/master@{#425312} [modify] https://crrev.com/a181b9af5728c5989e048fa51caf881e124e7c16/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java [modify] https://crrev.com/a181b9af5728c5989e048fa51caf881e124e7c16/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java [modify] https://crrev.com/a181b9af5728c5989e048fa51caf881e124e7c16/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py [modify] https://crrev.com/a181b9af5728c5989e048fa51caf881e124e7c16/tools/android/customtabs_benchmark/scripts/run_benchmark.py [add] https://crrev.com/a181b9af5728c5989e048fa51caf881e124e7c16/tools/android/customtabs_benchmark/scripts/sample_config.json
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1ad4f365b9917f92886d8e76c8e2789a9cb7e696 commit 1ad4f365b9917f92886d8e76c8e2789a9cb7e696 Author: lizeb <lizeb@chromium.org> Date: Mon Nov 14 13:31:18 2016 tools: Add a tool to load pages on a device, and pull the predictor database. BUG=655980 Review-Url: https://codereview.chromium.org/2496563002 Cr-Commit-Position: refs/heads/master@{#431869} [modify] https://crrev.com/1ad4f365b9917f92886d8e76c8e2789a9cb7e696/tools/android/loading/controller.py [modify] https://crrev.com/1ad4f365b9917f92886d8e76c8e2789a9cb7e696/tools/android/loading/devtools_monitor.py [add] https://crrev.com/1ad4f365b9917f92886d8e76c8e2789a9cb7e696/tools/resource_prefetch_predictor/generate_database.py
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a7371fec73920e104f4ca790572c5b869b22eb08 commit a7371fec73920e104f4ca790572c5b869b22eb08 Author: lizeb <lizeb@chromium.org> Date: Thu Nov 24 15:27:30 2016 customtabs: Output all the available metrics after a timeout. Some pages never really finish loading, even though for most benchmarks we are interested in the first contentful paint timings, that are more commonly reported. Change the java benchmark app and the driver script to output the available metrics after a delay. Also some minor cleanups in the code. BUG=655980 Review-Url: https://codereview.chromium.org/2531573002 Cr-Commit-Position: refs/heads/master@{#434327} [modify] https://crrev.com/a7371fec73920e104f4ca790572c5b869b22eb08/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java [modify] https://crrev.com/a7371fec73920e104f4ca790572c5b869b22eb08/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b65cb1a116e559085ec372ea2ea4891bd00b1181 commit b65cb1a116e559085ec372ea2ea4891bd00b1181 Author: lizeb <lizeb@chromium.org> Date: Wed Nov 30 15:56:50 2016 tools: Local tests for the speculative prefetch predictor. Adds a tool to reset Chrome's state, push a predictor database to a device, and load a page after a prefetch, collecting loading metrics. This is a follow-up to crrev.com/2496563002. Also adds a way to only enable external prefetch requests in the predictor. BUG=655980 Review-Url: https://codereview.chromium.org/2508933002 Cr-Commit-Position: refs/heads/master@{#435270} [modify] https://crrev.com/b65cb1a116e559085ec372ea2ea4891bd00b1181/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py [modify] https://crrev.com/b65cb1a116e559085ec372ea2ea4891bd00b1181/tools/resource_prefetch_predictor/generate_database.py [add] https://crrev.com/b65cb1a116e559085ec372ea2ea4891bd00b1181/tools/resource_prefetch_predictor/prefetch_benchmark.py [add] https://crrev.com/b65cb1a116e559085ec372ea2ea4891bd00b1181/tools/resource_prefetch_predictor/prefetch_predictor_common.py
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b182f0b53f831f124539bb8f6f4696e48c55bcc0 commit b182f0b53f831f124539bb8f6f4696e48c55bcc0 Author: lizeb <lizeb@chromium.org> Date: Mon Dec 05 15:52:29 2016 tools: Small fixes in customtabs_benchmark. - Fix metrics recording: delay incorrectly set, and simplify the logic - Fix metrics parsing - Output to a CSV file in prefetch_benchmark. BUG=655980 Review-Url: https://codereview.chromium.org/2551913002 Cr-Commit-Position: refs/heads/master@{#436300} [modify] https://crrev.com/b182f0b53f831f124539bb8f6f4696e48c55bcc0/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java [modify] https://crrev.com/b182f0b53f831f124539bb8f6f4696e48c55bcc0/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py [modify] https://crrev.com/b182f0b53f831f124539bb8f6f4696e48c55bcc0/tools/resource_prefetch_predictor/prefetch_benchmark.py
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/97d8cd800fa13dd25749d99a92540acb0e278b36 commit 97d8cd800fa13dd25749d99a92540acb0e278b36 Author: lizeb <lizeb@chromium.org> Date: Fri Dec 16 17:20:01 2016 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 Review-Url: https://codereview.chromium.org/2561353002 Cr-Commit-Position: refs/heads/master@{#439131} [modify] https://crrev.com/97d8cd800fa13dd25749d99a92540acb0e278b36/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py [rename] https://crrev.com/97d8cd800fa13dd25749d99a92540acb0e278b36/tools/resource_prefetch_predictor/generate_test_data.py [modify] https://crrev.com/97d8cd800fa13dd25749d99a92540acb0e278b36/tools/resource_prefetch_predictor/prefetch_benchmark.py
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e5c15db9908512b44a0a47f6b24098d8daeffeb1 commit e5c15db9908512b44a0a47f6b24098d8daeffeb1 Author: lizeb <lizeb@chromium.org> Date: Mon Dec 19 12:39:25 2016 predictors: Reduce the maximum concurrent prefetches. In the resource_prefetch_predictor, the maximum number of concurrent prefetches is set to 24. This is too high, as: - It defeats the prioritization of resources in the database - It was shown to slow down page loads in some case on slow connections by starving the page load resource fetches. (local testing using WPR and tools in tools/resource_prefetch_predictor) BUG=631966,655980 Review-Url: https://codereview.chromium.org/2589713002 Cr-Commit-Position: refs/heads/master@{#439453} [modify] https://crrev.com/e5c15db9908512b44a0a47f6b24098d8daeffeb1/chrome/browser/predictors/resource_prefetch_common.cc [modify] https://crrev.com/e5c15db9908512b44a0a47f6b24098d8daeffeb1/chrome/browser/predictors/resource_prefetcher_unittest.cc
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/afc56429f8182efa5b97cda6ba8bed9999469a46 commit afc56429f8182efa5b97cda6ba8bed9999469a46 Author: trevordixon <trevordixon@chromium.org> Date: Fri Mar 10 11:00:18 2017 customtabs: Respect delayToLaunchUrl even without delayToMayLaunchUrl. In the Custom Tabs benchmark, in the case where mayLaunchUrl isn't called, launchUrl shouldn't be called immediately. This change causes launchUrl to be called after the delay specified by delayToLaunchUrl. BUG=655980 Review-Url: https://codereview.chromium.org/2742563003 Cr-Commit-Position: refs/heads/master@{#456038} [modify] https://crrev.com/afc56429f8182efa5b97cda6ba8bed9999469a46/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java
Comment 1 by bugdroid1@chromium.org
, Oct 14 2016