README
1
2 These benchmarks use the Caliper benchmark framework, and can be
3 run on a remote device using Vogar:
4
5 http://code.google.com/p/caliper/
6 http://code.google.com/p/vogar/
7
8 -------------------------
9
10 Quick 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