• Home
  • History
  • Annotate
  • only in /frameworks/base/core/tests/benchmarks/
NameDateSize

..29-Aug-20174 KiB

Android.mk29-Aug-20171 KiB

README29-Aug-2017884

src/29-Aug-20174 KiB

README

1
2These benchmarks use the Caliper benchmark framework, and can be
3run on a remote device using Vogar:
4
5http://code.google.com/p/caliper/
6http://code.google.com/p/vogar/
7
8-------------------------
9
10Quick Command Line Reference:
11
12# Build vogar and dependencies.
13$> mmma -j32 external/vogar
14
15# First make sure art has permissions to dalvik-cache, otherwise it will run slower with interpreter.
16$> adb root
17
18# Run vogar in benchmark mode, telling it to use app_process (not dalvikvm which is default)
19# Otherwise you will likely crash with UnsatisfiedLinkError despite having correct JNI code.
20
21$> vogar --mode app_process --benchmark path/to/Benchmark.java
22
23# Sometimes your benchmarks might time out, if so increase the timeout:
24# (--timeout goes to vogar, and --time-limit goes to caliper)
25$> vogar --timeout 1000 --mode app_process --benchmark path/to/Benchmark -- --time-limit 9999s
26