Abstract
The paper surveys the execution features of ready-to-use sorting procedures in various modern computer languages/compilers. The chosen sorting functions were tested for randomly generated data sets of different size and structure resembling the lists or arrays commonly used in real life IT solutions. Our results reveal some differences between particular implementations in efficiency of sorting in terms of CPU load and execution time.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
All listings contain only essential parts of source code, without obvious variable declarations and unnecessary function/method headers.
- 2.
References
Hylock, R.: UPC: large-scale memory efficient Java primitive collections. JSW 11(3), 251–271 (2016)
Couto, M., Pereira, R., Ribeiro, F., Rua, R., Saraiva, J.: Towards a green ranking for programming languages. In: Proceedings of the 21st Brazilian Symposium on Programming Languages, p. 7. ACM (2017)
Kokot, M., Deorowicz, S., Długosz, M.: Even faster sorting of (not only) integers. In: International Conference on Man–Machine Interactions, pp. 481–491. Springer (2017)
Slagter, K., Hsu, C.-H., Chung, Y.-C.: An adaptive and memory efficient sampling mechanism for partitioning in mapreduce. Int. J. Parallel Program. 43(3), 489–507 (2015)
Bingmann, T., Eberle, A., Sanders, P.: Engineering parallel string sorting. Algorithmica 77(1), 235–286 (2017)
Hoare, C.A.: Quicksort. Comput. J. 5(1), 10–16 (1962)
Woźniak, M., Marszałek, Z., Gabryel, M., Nowicki, R.K.: Preprocessing large data sets by the use of quick sort algorithm. In: Knowledge, Information and Creativity Support Systems: Recent Trends, Advances and Solutions, pp. 111–121. Springer (2016)
Woźniak, M., Marszałek, Z., Gabryel, M., Nowicki, R.K.: Modified merge sort algorithm for large scale data sets. In: International Conference on Artificial Intelligence and Soft Computing, pp. 612–622. Springer (2013)
Sestoft, P.: Microbenchmarks in Java and C#. Lecture Notes, September 2013
Costa, D., Andrzejak, A., Seboek, J., Lo, D.: Empirical study of usage and performance of Java collections. In: Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering, pp. 389–400. ACM (2017)
Marszałek, Z.: Performance test on triple heap sort algorithm. Tech. Sci. 20(1) (2017)
Sroczyński, Z.: Internet of things location services with multi-platform mobile applications. In: Proceedings of the Computational Methods in Systems and Software, pp. 347–357. Springer (2017)
Gruca, A., Sikora, M.: Data-and expert-driven rule induction and filtering framework for functional interpretation and description of gene sets. J. Biomed. Semant. 8(1), 23 (2017)
Bier, A., Kapczyński, A., Sroczyński, Z.: Pattern lock evaluation framework for mobile devices: human perception of the pattern strength measure. In: International Conference on Man–Machine Interactions, pp. 33–42. Springer (2017)
Vogels, W.: Benchmarking the CLI for high performance computing. IEE Proc. Softw. 150(5), 266–274 (2003)
Sroczynski, Z.: Human-computer interaction on mobile devices with the FM application platform. In: R. M., P. P. (eds.) Internet in the information society. Insights on the information systems, structures and applications. Academy of Business in Dabrowa Gornicza Press (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Bier, A., Sroczyński, Z. (2019). Efficiency Comparison of Modern Computer Languages: Sorting Benchmark. In: Silhavy, R., Silhavy, P., Prokopova, Z. (eds) Intelligent Systems in Cybernetics and Automation Control Theory. CoMeSySo 2018. Advances in Intelligent Systems and Computing, vol 860. Springer, Cham. https://doi.org/10.1007/978-3-030-00184-1_28
Download citation
DOI: https://doi.org/10.1007/978-3-030-00184-1_28
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-00183-4
Online ISBN: 978-3-030-00184-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)