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

Unified Diff: tools/resource_prefetch_predictor/prefetch_benchmark.py

Issue 2652313002: predictors: Move the configuration of speculative prefetch to field trials. (Closed)
Patch Set: Address comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/resource_prefetch_predictor/generate_test_data.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/resource_prefetch_predictor/prefetch_benchmark.py
diff --git a/tools/resource_prefetch_predictor/prefetch_benchmark.py b/tools/resource_prefetch_predictor/prefetch_benchmark.py
index b92d4bf76da68fb7535faf63d74f9344158f4aa2..24ddf2a0dfadc5ed75811036c693825b084d549f 100755
--- a/tools/resource_prefetch_predictor/prefetch_benchmark.py
+++ b/tools/resource_prefetch_predictor/prefetch_benchmark.py
@@ -34,10 +34,6 @@ from devil.android.sdk import intent
import prefetch_predictor_common
-_EXTERNAL_PREFETCH_FLAG = (
- '--speculative-resource-prefetching=enabled-external-only')
-
-
def _CreateArgumentParser():
"""Creates and returns the argument parser."""
parser = argparse.ArgumentParser(
@@ -74,7 +70,7 @@ def _Setup(device, database_filename):
# that the disk database is re-created.
command_line_path = '/data/local/tmp/chrome-command-line'
with device_setup.FlagReplacer(
- device, command_line_path, ['--disable-fre', _EXTERNAL_PREFETCH_FLAG]):
+ device, command_line_path, ['--disable-fre']):
# Launch Chrome for the first time to recreate the local state.
launch_intent = intent.Intent(
action='android.intent.action.MAIN',
« no previous file with comments | « tools/resource_prefetch_predictor/generate_test_data.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698