Abstract
Original language | English |
---|---|
Title of host publication | International Conference on Next Generation Mobile Applications, Services, and Technologies |
Pages | 50-55 |
ISBN (Electronic) | 978-1-4799-2010-5 |
DOIs | |
Publication status | Published - 7 Nov 2013 |
MoE publication type | A4 Article in a conference publication |
Fingerprint
Keywords
- Android
- Benchmark
- Comparison
- Java
- Performance
- Scala
Cite this
}
Performance and energy-efficiency of scala on mobile devices. / Denti, Mattia; Nurminen, Jukka K.
International Conference on Next Generation Mobile Applications, Services, and Technologies. 2013. p. 50-55.Research output: Chapter in Book/Report/Conference proceeding › Conference article in proceedings › Scientific › peer-review
TY - GEN
T1 - Performance and energy-efficiency of scala on mobile devices
AU - Denti, Mattia
AU - Nurminen, Jukka K.
PY - 2013/11/7
Y1 - 2013/11/7
N2 - The objective of this study was to compare how new languages like Scala perform on mobile environments compared to the classical languages. Since Scala also runs on the Java Virtual Machine (JVM), it is possible to run the code on Android devices and compare it with Java. After analysing the existing literature about Scala-Java comparisons, and after finding what constitutes a good benchmark for our subject of study, we found and adapted two benchmarks for both Scala and Java and ran them on an Android device. We measured the power consumption and the execution time of the benchmarks, as well as the memory usage and the size of the application. The results show that using Scala in mobile devices is feasible. Scala performs faster or slower than Java, depending on the task, and on average it consumes more energy than Java on the Android device, while using less memory. The size of the application written in Scala is also larger due to the presence of the Scala libraries.
AB - The objective of this study was to compare how new languages like Scala perform on mobile environments compared to the classical languages. Since Scala also runs on the Java Virtual Machine (JVM), it is possible to run the code on Android devices and compare it with Java. After analysing the existing literature about Scala-Java comparisons, and after finding what constitutes a good benchmark for our subject of study, we found and adapted two benchmarks for both Scala and Java and ran them on an Android device. We measured the power consumption and the execution time of the benchmarks, as well as the memory usage and the size of the application. The results show that using Scala in mobile devices is feasible. Scala performs faster or slower than Java, depending on the task, and on average it consumes more energy than Java on the Android device, while using less memory. The size of the application written in Scala is also larger due to the presence of the Scala libraries.
KW - Android
KW - Benchmark
KW - Comparison
KW - Java
KW - Performance
KW - Scala
U2 - 10.1109/NGMAST.2013.18
DO - 10.1109/NGMAST.2013.18
M3 - Conference article in proceedings
SP - 50
EP - 55
BT - International Conference on Next Generation Mobile Applications, Services, and Technologies
ER -