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

Side by Side Diff: tools/android/customtabs_benchmark/scripts/launch.sh

Issue 2722733004: customtabs: Benchmark app for WebView / Custom Tabs comparisons. (Closed)
Patch Set: . Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2 #
3 # Copyright 2017 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 set -x
8
9 PACKAGE_NAME="org.chromium.customtabs.test"
10 URL=$1
11 USE_WEBVIEW=$2
12 WARMUP=$3
13
14 adb root
15
16 adb shell am force-stop com.google.android.apps.chrome
17 adb shell am force-stop $PACKAGE_NAME
18 adb shell "echo 3 > /proc/sys/vm/drop_caches"
19
20 sleep 3
21
22 adb shell am start -n ${PACKAGE_NAME}/.MainActivity \
23 --es "url" "$URL" \
24 --ez "use_webview" "$USE_WEBVIEW" \
25 --ez "warmup" "$WARMUP"
OLDNEW
« no previous file with comments | « tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698