Java and Kotlin code performance in selected web frameworks
Grzegorz Bujnowski
grzegorz.bujnowski@pollub.edu.plPolska (Poland)
Jakub Smołka
Lublin University of Technology (Poland)
Abstract
This paper discusses the issue of comparing Java and Kotlin technologies based on the web application framework. The criteria taken into account for testing purposes are: execution time, memory usage, CPU load, database response in set time. A series of tests and their in-depth comparative analysis are carried out. For this case, tests and code analysis were carried out to draw comparative conclusions. The performance in terms of web frameworks, database response speed and tests implementation in different languages - in all these Kotlin proved to be less efficient. There is no significant difference between CPU load between individual easurements, the difference does not exceed 2%. Implementation in the Kotlin language has never achieved the best result in any group of measurements.
Supporting Agencies
Keywords:
Kotlin, JVM, Java, BenchmarkReferences
M. Martinez, B. Gois. How and Why did developers migrate Android Applications from Java to Kotlin? A study based on code analysis and interviews with developers, arXiv preprint arXiv:2003.12730 (2020).
Google Scholar
S. Bose, A comparative study: java vs kotlin programming in android application development, International Journal of Advanced Research in Computer Science (9) (2018) 41-45.
Google Scholar
T. Kalibera, R. Jones, Rigorous benchmarking in reasonable time, in Proceedings of the 2013 international symposium on memory management (2013) 63-74.
DOI: https://doi.org/10.1145/2555670.2464160
Google Scholar
I. Gouy, The Computer Language Benchmarks Game. Web. https://benchmarksgame-team.pages.debian.net/benchmarksgame/).
Google Scholar
A. Prokopec, Oracle Labs: On Evaluating the Renaissance Benchmarking Suite: Variety, Performance, and Complexity, arXiv preprint arXiv:1903.10267 (2019).
Google Scholar
P. Alfeld, The Mandelbrot Set (https://www.math.utah.edu/˜alfeld/math/mandelbrot/mandelbrot.html)
Google Scholar
D. Stepanov, M. Akhin, M. Belyaev, How We Stopped Worrying About Bugs in Kotlin Compiler, in 34th IEEE/ACM International Conference on Automated Software Engineering (ASE), IEEE (2019) 317-326.
DOI: https://doi.org/10.1109/ASE.2019.00038
Google Scholar
B. G. Mateus, M. Martinez, An empirical study on quality of Android applications written in Kotlin language, Empirical Software Engineering (2019) 3356-3393.
DOI: https://doi.org/10.1007/s10664-019-09727-4
Google Scholar
D. J. Lipman, W. R. Pearson, Rapid and sensitive protein similarity searches, Science 227 (4693) (1985) 1435–1441.
DOI: https://doi.org/10.1126/science.2983426
Google Scholar
TIOBE index (https://www.tiobe.com/tiobe-index/)
Google Scholar
Authors
Jakub SmołkaLublin University of Technology Poland
Statistics
Abstract views: 846PDF downloads: 672
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.