Change search
ReferencesLink to record
Permanent link

Direct link
Native Code on Android – A performance comparison of Java and native C on Android.
KTH, School of Computer Science and Communication (CSC).
KTH, School of Computer Science and Communication (CSC).
2011 (English)Independent thesis Advanced level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This report evaluates possible performance differences between Java and native C on the operating system Android, by developing tests and analyzing the execution. The ambition is that each test should evaluate the performance of a certain task, such as memory access or arithmetic operations of different data types. The results were in some cases unexpected and show that the executed implementations were faster on C compared to Java on one of the test devices, but not the other. The conclusion partly opposes earlier research and this is probably partly due to the fact that the Java Virtual Machine has been improved vastly in the latest versions of Android.

Abstract [sv]

Den här uppsatsen jämför eventuella prestandaskillnader mellan Java och native C på operativsystemet Android genom att utföra olika tester och analysera dessa. Testerna baseras på några utvalda algoritmer och körs på två olika fysiska Android-enheter. Ambitionen är att varje test ska undersöka prestandan av en viss typ av operation, till exempel minnesaccess eller aritmetiska operationer på olika datatyper. Resultaten var i några fall oväntade och visar att de exekverade implementationerna var snabbare i native C jämfört med Java på den ena testenheten, men att prestandan var likvärdig på den andra testenheten. Resultaten går delvis emot tidigare forskning och kan troligen förklaras med att Javas virtuella maskin förbättrats avsevärt i senare versioner av Android.

Place, publisher, year, edition, pages
Kandidatexjobb CSC, K11009
National Category
Computer Science
URN: urn:nbn:se:kth:diva-130866OAI: diva2:654311
Educational program
Master of Science in Engineering - Computer Science and Technology
Available from: 2013-10-07 Created: 2013-10-07

Open Access in DiVA

No full text

Other links
By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 71 hits
ReferencesLink to record
Permanent link

Direct link