As the project needs to upgrade the Android 2.3 system, it is necessary to analyze the feasibility of JIT.
We use telchhips and 6410 of the ARM architecture for evaluation and testing.
0 xbenchmark is an official Google test.Program(Download with source code)
Caffeinemark is a test program related to Dalvik. Benchmark is a comprehensive test tool.
Analysis1. GPU
It can be found that GPU has a significant impact on graphics performance. Especially after android2.3, this difference is getting bigger and bigger.
(Note: In the last test program, the GPU effect is not very obvious. It is estimated that graphic does not use 3D opengle to render the image)
2. JIT
JIT in Dalvik mainly affects CPU performance (linpack for floating-point computation and scimark2 for scientific computation), and has no effect on graphics performance. There is no JIT. From the perspective of user experience, there is indeed no official saying 3-5 times of performance improvement.
Of course, JIT has a significant impact on the caffeine test program of Dalvik.