blob: e4d2dce1dde6162638de13707a3081f101690013 [file] [log] [blame]
Jeff Sharkeya197e372012-03-06 17:20:52 -08001
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
Igor Murashkin4f66cb32016-09-29 15:19:58 -07008-------------------------
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