README.txt
1This is a Android Toolchain benchmark suite.
2===========================================
3Where to find this suite:
4 This suite locates at google3, please create a google3 branch first,
5 then run:
6 $cd experimental/users/zhizhouy/benchtoolchain
7 Copy this directory to the place you want to put it.
8
9To use this suite:
10 1. Configure the basic envrionment in env_setting file.
11
12 2. Run ./apply_patches.py, which will:
13 1) Patch all the android benchmarks in the android tree.
14 Benchmark Panorama does not exist in android tree, so perftests/
15 gets copied into the top-level of android tree.
16
17 2) Apply patch autotest.diff to android_root/external/autotest, which
18 includes all the test scripts for benchmarks. Copy testcases to
19 related autotest directory.
20
21 If you have applied the patch partially and hope to discard the
22 patch, just run discard_patches.py
23
24 3. Build and run benchmark on the device using ./run.py. You can either
25 use test configuration file (-t test_config), or set all the variables
26 manually.
27
28 4. The raw results locate at bench_result_* in bench suite home
29 directory.
30
31 5. The JSON format result will be generated for crosperf report.
32
33Utility tools:
34 1. Autotest is a test framework located in android exteranl/autotest
35 Before first time running it, please run
36 utils/build_externals.py first to ensure all the environments
37 and tools needed are installed.
38
39 2. Crosperf is a report generating tool in ChromeOS toolchain utilities.
40 Please look for it in chromium source:
41 src/third_party/toolchain-utils/crosperf.
42