aosp12/toolchain/benchmark
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
dex2oat_input init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
panorama_input init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Binder_flags_aosp.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Binder_flags_internal.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Dex2oat_flags_aosp.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Dex2oat_flags_internal.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Hwui_flags_aosp.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Hwui_flags_internal.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Skia_flags_aosp.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Skia_flags_internal.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
apply_patches.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
autotest.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build_bench.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
collect_profile.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
config.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
discard_patches.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
env_setting init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fix_json.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
fix_skia_results.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gen_json.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
panorama.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
parse_result.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
run.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
set_flags.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
synthmark.diff init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
test_config init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.txt

This is a Android Toolchain benchmark suite.
===========================================
Where to find this suite:
	This suite locates at toolchain/benchmark under Android repository tree.

To use this suite:
	1. Configure the basic envrionment in env_setting file.

	2. Run ./apply_patches.py, which will:
		1) Create non-existing benchmarks in the Android tree. Apply
		patch to some benchmarks to make them workable to the suite.

		2) 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 or hope to discard all the
	   patches, just run ./discard_patches.py

	3. 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.

	4. The raw results locate at bench_result_* in bench suite home
	directory.

	5. The JSON format result will be generated for crosperf report.

Utility tools:
	1. 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.

	2. Crosperf is a report generating tool in ChromeOS toolchain
	utilities, which has a mirror at external/toolchain-utils in Android
	tree.