DocumentCode
583654
Title
Benchmarking Java application using JNI and native C application on Android
Author
Kim, Yeong-Jun ; Cho, Seong-Jin ; Kim, Kil-Jae ; Hwang, Eun-Hye ; Yoon, Seung-Hyun ; Jeon, Jae-Wook
Author_Institution
Dept. of IT Convergence, SungKyunKwan Univ., Suwon, South Korea
fYear
2012
fDate
17-21 Oct. 2012
Firstpage
284
Lastpage
288
Abstract
Android is one of the most widely spread mobile platform. Many people are using Android mobile devices and many developers are creating Android applications at this moment. When developing applications, the differences in performance between Java and C/C++ are a well-known issue. Because this is also true in Android, many Android application developers prefer to use the Android NDK along with Java compared to using only Java language. However, there are certain performance gaps in not only using different programming languages but also in using glibc of a native cross-compiler and bionic libc of the Android NDK. In this paper, we show the difference in performance between Android applications compiled by using a native cross-compiler for ARM and a native shared library through the JNI of the Android NDK. We used Mibench, a representative embedded benchmark suite that can be used freely with no restrictions. As a result, it was found that using the native shared library through the JNI of the Android NDK is faster compared to using the native cross-compiler for ARM in five of six cases.
Keywords
C++ language; Java; operating systems (computers); program compilers; software libraries; ARM; Android NDK; Android application; Android mobile device; C/C++ language; JNI; Java language; Mibench; bionic libc; embedded benchmark suite; glibc; mobile platform; native cross-compiler; native shared library; programming language; Androids; Benchmark testing; Humanoid robots; Java; Libraries; Smart phones; Android; JNI; NDK; benchmark; bionic; glibc;
fLanguage
English
Publisher
ieee
Conference_Titel
Control, Automation and Systems (ICCAS), 2012 12th International Conference on
Conference_Location
JeJu Island
Print_ISBN
978-1-4673-2247-8
Type
conf
Filename
6393447
Link To Document