summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-05-21 14:19:15 -0700
committerAlex Light <allight@google.com>2018-05-21 14:46:59 -0700
commit673726b39689afe5496bbb0bac5ec52b4d50d334 (patch)
treef80a573d8c12c60efa757f5c8a02a6cc310857b3 /test/ProfileTestMultiDex/Main.java
parentdf810b9c8d5013cd6f5799a75b6aaf0f3991210c (diff)
Add plugin for testing method tracing speed.
It can be useful to test how much overhead the ART method tracing infrastructure has. Since normal method tracing APIs (eg -Xmethod-trace, JVMTI events) have significant overhead for synchronization or other reasons we created a simple plugin that begins method tracing but doesn't record or even look at the trace events. This lets us have a rough idea how much simply sending these events costs us. Test: ./test/run-test --host \ --runtime-option \ -Xplugin:$ANDROID_HOST_OUT/lib/libtracefast-trampolined.so \ 001-Main Change-Id: I1fac4cdd0dfa780cb4efe195025b3d29e8cf619c
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions