jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
dex2oat_input | 4 months ago | |
panorama_input | 4 months ago | |
Binder_flags_aosp.diff | 4 months ago | |
Binder_flags_internal.diff | 4 months ago | |
Dex2oat_flags_aosp.diff | 4 months ago | |
Dex2oat_flags_internal.diff | 4 months ago | |
Hwui_flags_aosp.diff | 4 months ago | |
Hwui_flags_internal.diff | 4 months ago | |
README.md | 4 months ago | |
Skia_flags_aosp.diff | 4 months ago | |
Skia_flags_internal.diff | 4 months ago | |
apply_patches.py | 4 months ago | |
autotest.diff | 4 months ago | |
build_bench.py | 4 months ago | |
config.py | 4 months ago | |
discard_patches.py | 4 months ago | |
env_setting | 4 months ago | |
fix_json.py | 4 months ago | |
fix_skia_results.py | 4 months ago | |
gen_json.py | 4 months ago | |
panorama.diff | 4 months ago | |
parse_result.py | 4 months ago | |
run.py | 4 months ago | |
set_flags.py | 4 months ago | |
skia_aosp.diff | 4 months ago | |
skia_internal.diff | 4 months ago | |
synthmark.diff | 4 months ago | |
test_config | 4 months ago |
README.md
android_bench_suite
This is a Android Toolchain benchmark suite.
Where to find this suite:
This suite locates at google3, please create a google3 branch first, then run:
$ cd experimental/users/zhizhouy/benchtoolchain
Copy this directory to the place you want to put it.
To use this suite:
-
Configure the basic envrionment in
env_setting
file. -
Run
./apply_patches.py
, which will:-
Patch all the android benchmarks in the android tree. Benchmark Panorama does not exist in android tree, so perftests/ gets copied into the top-level of android tree.
-
Apply patch autotest.diff to
android_root/external/autotest
, which includes all the test scripts for benchmarks. Copy testcases to related autotest directory.
If you have applied the patch partially and hope to discard the patch, just run
discard_patches.py
-
-
Build and run benchmark on the device using ./run.py. You can either use test configuration file (-t
test_config
), or set all the variables manually. -
The raw results locate at
bench_result_*
in bench suite home directory. -
The JSON format result will be generated for crosperf report.
Utility tools:
-
Autotest is a test framework located in android exteranl/autotest Before first time running it, please run
utils/build_externals.py
first to ensure all the environments and tools needed are installed. -
Crosperf is a report generating tool in ChromeOS toolchain utilities. Please look for it in chromium source:
src/third_party/toolchain-utils/crosperf
.