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

Unified Diff: mojo/devtools/common/mojo_benchmark

Issue 1345753002: Teach `mojo_benchmark` to clear network service disk cache. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_benchmark
diff --git a/mojo/devtools/common/mojo_benchmark b/mojo/devtools/common/mojo_benchmark
index 756b44ba101f5ec830a4a4397c7cb885b971463c..87ba15406c9a9f9f286c3841592e572efc2212e2 100755
--- a/mojo/devtools/common/mojo_benchmark
+++ b/mojo/devtools/common/mojo_benchmark
@@ -44,6 +44,7 @@ _logger = logging.getLogger()
_BENCHMARK_APP = 'https://core.mojoapps.io/benchmark.mojo'
_CACHE_SERVICE_URL = 'mojo:url_response_disk_cache'
+_NETWORK_SERVICE_URL = 'mojo:network_service'
# Additional time in seconds allocated per shell run to accommodate start-up.
# The shell should terminate before hitting this time out, it is an error if it
@@ -70,6 +71,7 @@ def _run_benchmark(shell, shell_args, name, app, duration_seconds, measurements,
if cold_start:
shell_args.append('--args-for=%s %s' % (_CACHE_SERVICE_URL, '--clear'))
+ shell_args.append('--args-for=%s %s' % (_NETWORK_SERVICE_URL, '--clear'))
if verbose:
print 'shell arguments: ' + str(shell_args)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698