Index: tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py |
diff --git a/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py b/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py |
index 1811c6dab30a48cb5662dab9ec8ff3006faeaea9..ba1c312cf06184b417a95722e910f4d7da30afab 100755 |
--- a/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py |
+++ b/tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py |
@@ -187,6 +187,12 @@ def LoopOnDevice(device, configs, output_filename, wpr_archive_path=None, |
'--force-fieldtrials=trial/group', |
'--force-fieldtrial-params=trial.group:mode/no_state_prefetch', |
'--enable-features="NoStatePrefetch<trial"']) |
+ elif config['speculation_mode'] == 'speculative_prefetch': |
+ # NoStatePrefetch is enabled through an experiment. |
droger
2017/01/25 17:27:11
s/NoStatePrefetch/SpeculativePrefetch/
Benoit L
2017/01/26 09:58:15
Thanks!
Done.
|
+ chrome_args.extend([ |
+ '--force-fieldtrials=trial/group', |
+ '--force-fieldtrial-params=trial.group:mode/external-prefetching', |
+ '--enable-features="SpeculativeResourcePrefetching<trial"']) |
result = RunOnce(device, config['url'], config['warmup'], |
config['speculation_mode'], |