Analisis Komparatif Performa Algoritma Quick Sort dan Selection Sort pada Dataset Numerik Riil Harga Perangkat Komputer
DOI:
https://doi.org/10.69714/63gs0968Keywords:
Quick Sort, Selection Sort, Data Sorting, Kaggle Dataset, Time ComplexityAbstract
Data processing efficiency is a big problem in today's computer science. This study looks at how Quick Sort and Selection Sort perform when applied to a real set of numbers taken from a computer (laptop) price dataset on Kaggle. The approach used is a quantitative experiment that relies on computer simulations written in the Java programming language. Testing was done by changing the size of the dataset to 1,000 rows, 5,000 rows, and 10,000 rows, all under normal random conditions. The experimental results show that Quick Sort performs much better as the data size increases. It takes 2 ms when there are 1,000 items, 8 ms for 5,000 items, and 25 ms for 10,000 items. These times match closely with the average time complexity of O (N log N). On the other hand, Selection Sort saw a huge increase in time, which matches its quadratic complexity of O(N2), taking 4,310 ms when $N=10,000$. In summary, algorithms that use the divide-and-conquer approach, such as Quick Sort, are much better and strongly suggested for handling large real-world data sets than older methods like Selection Sort.
References
[1] S. Wijaya and T. Wira Harjanti, “Universitas Nasional 1, 2 Prodi Informatika, Sekolah Tinggi Informatika, NIIT 3 fauziah@civitas.unas.ac.” [Online]. Available: https://www.jdoodle.com/execute-nodejs-
[2] R.-M. CiupercĂ, V.-A. Mihai, and D. A. CRIȘAN, “ALGORITHM EFFICIENCY, A SIDE-BY-SIDE COMPARISON.,” Journal of Information Systems & Operations Management, vol. 17, no. 2, 2023.
[3] M. Bima Sena, R. Mumtazah Hanun, I. Reki Purnama, and M. Ardian, “Prosiding Seminar Nasional Sains dan Teknologi Seri 02 Fakultas Sains dan Teknologi,” 2024.
[4] J. Iskandar, H. Suhendar, and B. D. Pamungkas, “Analisis Strategi Algoritma Sorting Menggunakan Metode Komparatif pada Bahasa Pemrograman Java dengan Python,” G-Tech: Jurnal Teknologi Terapan, vol. 8, no. 1, pp. 104–113, 2024.
[5] M. Ezar Al Rivan, “Perbandingan Performa Kombinasi Algoritma Pengurutan Quick-Insertion Sort dan Merge-Insertion Sort,” 2016. [Online]. Available: http://ars.ilkom.unsri.ac.id6
[6] K. Goel, P. Dwivedi, and O. Sharma, “Performance analysis of various sorting algorithms: Comparison and optimization,” in 2023 11th International Conference on Intelligent Systems and Embedded Design (ISED), IEEE, 2023, pp. 1–5.
[7] R. Purnomo and T. D. Putra, “Theoretical Analysis of Standard Selection Sort Algorithm,” Sinkron: jurnal dan penelitian teknik informatika, vol. 7, no. 2, pp. 666–673, 2023.
[8] M. Marcellino, D. W. Pratama, S. S. Suntiarko, and K. Margi, “Comparative of advanced sorting algorithms (quick sort, heap sort, merge sort, intro sort, radix sort) based on time and memory usage,” in 2021 1st international conference on computer science and artificial intelligence (ICCSAI), IEEE, 2021, pp. 154–160.
[9] Calvin Syahputra, Syti Salwaa Nafiisah, Shaqila Rahmayani Gultom, Ridho Affandi, and Adidtya Perdana, “ANALISIS PERFORMA ALGORITMA QUICK SORT DAN MERGE SORT PADA PENGURUTAN DATA BESAR ( BIG DATA ) MENGGUNAKAN NOTASI BIG-O,” Informatika: Jurnal Teknik Informatika dan Multimedia, vol. 6, no. 1, pp. 367–379, May 2026, doi: 10.51903/informatika.v6i1.1661.
[10] M. Naufal Musyaafa, A. Bonifasius Simbolon, K. Rifail Azis, and D. Yandra Niska, “PENGEMBANGAN APLIKASI BENCHMARKING WAKTU KOMPUTASI ALGORITMA SORTING MENGGUNAKAN OCTAVE,” 2025.
[11] W. Fahmy Wisudawan, “Kompleksitas Algoritma Sorting yang Populer Dipakai.” [Online]. Available: http://www.nist.gov/dads/HTML/algorithm.html
[12] Fachrie Lantera, “Kompleksitas Algoritma Quick Sort,” 2007.
[13] F. I. Lubis and M. Iqbal, “Analisis Waktu Optimal Unggah Instagram Menggunakan K-Means Clustering pada Data Sintetis,” RIGGS: Journal of Artificial Intelligence and Digital Business, vol. 5, no. 1, pp. 1497–1504, Feb. 2026, doi: 10.31004/riggs.v5i1.6042.
[14] Yosia A. Ishak, “KLASIFIKASI DATA TEKS UNTUK MENDETEKSI EMOSI PENGGUNA TWITTER MENGGUNAKAN MACHINE LEARNING,” vol. Vol 18, No 2, 2023.
[15] M. S. Islam et al., “Cross-Language Evaluation of Sorting Algorithms on Various Input Patterns: A Comparative Study,” J. Comput. Lang., p. 101397, 2026.
[16] M. H. G. Muhammad, J. A. Malik, M. Akhtar, M. A. Baloch, and M. A. Rajwana, “Sort Data Faster: Comparing Algorithms,” Southern Journal of Computer Science, vol. 1, no. 02, pp. 28–37, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jurnal Riset Teknik Komputer

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.










