Research Article
Hybrid PolyLingual Object Model: An Efficient and Seamless Integration of Java and Native Components on the Dalvik Virtual Machine
Table 4
Average elapsed time and invoking cost of native method.
| From Java (ms) | From Java | In native | Invoking cost | JNI | HPO | JNI | HPO | JNI | HPO |
| Sum | 2.06 | 2.45 | 1.40 | 1.04 | 0.66 | 1.41 | ArrayAdd | 78.33 | 43.76 | 61.66 | 23.28 | 16.67 | 20.48 | Strcat | 118.06 | 53.06 | 95.62 | 27.10 | 22.45 | 25.96 | GetMyObject | 1367.45 | 277.72 | 1233.09 | 79.40 | 134.36 | 198.32 |
|
|