ANALISIS PERFORMA ALGORITMA QUICK SORT DAN MERGE SORT PADA PENGURUTAN DATA BESAR ( BIG DATA ) MENGGUNAKAN NOTASI BIG-O
DOI:
https://doi.org/10.51903/informatika.v6i1.1661Keywords:
Quick Sort, Merge Sort, Big Data, Time Complexity, Big-O NotationAbstract
The rapid development of information technology has led to an exponential increase in data volume, requiring efficient and high-performance sorting algorithms. Sorting is one of the fundamental operations in large-scale data processing. This study aims to analyze the performance of the Quick Sort and Merge Sort algorithms in sorting large datasets based on time complexity using Big-O notation. The research method employed is experimental, by implementing both algorithms on datasets of various sizes, then measuring execution time and analyzing their time complexity under best-case, average-case, and worst-case conditions. The results show that Quick Sort performs faster on average with a time complexity of O(n log n), but its performance can degrade to O(n²) in the worst case. Meanwhile, Merge Sort demonstrates more stable performance with a time complexity of O(n log n) in all cases, although it requires additional memory usage. Based on these findings, the selection of sorting algorithms for large-scale data
should consider data characteristics and memory requirements to achieve optimal performance.
References
[1] E. Panggabean, Yuda Perwira, Dedi Candro Parulian Sinaga, Annisa Tri Utami, and Vincha Swe Meiya Pricilla Sembiring, “Performance Analysis of Parallel Merge Sort Using MPI (Message Passing Interface) on Big Data Dataset,” Jurnal Sistem Komputer dan Informatika (JSON), vol. 7, no. 2, pp. 594–560, Dec. 2025, doi: 10.30865/json.v7i2.9307.
[2] O. Esau Taiwo, A. O. Christianah, A. N. Oluwatobi, K. A. Aderonke, and A. J. Kehinde, “COMPARATI*VE STUDY of TWO DIVIDE and CONQUER SORTING ALGORITHMS: QUICKSORT and MERGESORT,” in Procedia Computer Science, Elsevier B.V., 2020, pp. 2532–2540. doi: 10.1016/j.procs.2020.04.274.
[3] “Optimization of Sorting Algorithms for Big Data and Cloud Computing Environments,” Journal of Academic Trends and Innovative Research, vol. 1, no. 1, Dec. 2025, doi: 10.64643/jatirv1i1-140030-001.
[4] R. Ayazuddin, “A Comprehensive Study of Sorting Algorithm Performance Using Real-World Dataset Metrics,” Sep. 30, 2025. doi: 10.20944/preprints202509.2550.v1.
[5] S. Khalafallah and S. S. Abu-Naser, “AI-Driven Sorting Algorithms for Big Data: Techniques and Real-World Applications,” 2025. [Online]. Available: www.ijeais.org/ijaer
[6] M. Nazril Ilham, A. Faza Setiawan, I. Kholifatun, and M. H. Aldiansyah, “Journal of Artificial Intelligence and Engineering Applications Comparative Analysis of Memory Performance and Processing Time of Five Sorting Algorithms Using C++ Programming Language,” 2025. [Online]. Available: https://ioinformatic.org/
[7] “Optimization of Sorting Algorithms for Big Data and Cloud Computing Environments,” Journal of Academic Trends and Innovative Research, vol. 1, no. 1, Dec. 2025, doi: 10.64643/jatirv1i1-140030-001.
[8] F. Laia, F. Tharorogo Wau, and J. Manurung, “Optimization of quicksort algorithm for real-time data processing in IoT systems with random pivot division and tail recursion,” vol. 14, no. 1, pp. 96–103, 2025, [Online]. Available: www.ejournal.isha.or.id/index.php/Mandiri
[9] Prof.Mrs. Tejaswini.A. Puranik, “Performance Analysis of Sorting and Searching Algorithms,” International Research Journal on Advanced Engineering and Management (IRJAEM), vol. 3, no. 08, pp. 2741–2746, Aug. 2025, doi: 10.47392/irjaem.2025.0430.
[10] Y. K. Tamandani, “Performance analysis of parallel sorting algorithms Using Message Passing Interface (MPI)”, doi: 10.22034/jcse.2025.182105.
[11] Y. Li, “Performance Analysis of Efficient Sorting Algorithms in Big Data Processing,” in Procedia Computer Science, Elsevier B.V., 2025, pp. 44–50. doi: 10.1016/j.procs.2025.05.026.
[12] K. Carter, S. M. G. Ho, M. M. A. Larsen, M. Sundman, and M. H. Kirkeby, “Energy and Time Complexity for Sorting Algorithms in Java,” May 2024, [Online]. Available: http://arxiv.org/abs/2311.07298
[13] A. S. Sabah et al., “Exponential (10K),” 2023. [Online]. Available: www.ijeais.org/ijaer
[14] A. G. Aly, A. E. Jensen, and H. ElAarag, “Improving Merge Sort and Quick Sort Performance by Utilizing Alphadev’s Sorting Networks as Base Cases,” in ACMSE 2025 - Proceedings of the 2025 ACM Southeast Conference, Association for Computing Machinery, Inc, May 2025, pp. 239–244. doi: 10.1145/3696673.3723083.
[15] Y. Shi and Z. Li, “Leyenda: An Adaptive, Hybrid Sorting Algorithm for Large Scale Data with Limited Memory.”
[16] A. Farhan, “Sorting Execution Time and Comparison Analysis-Quick Sort, Hybrid Quick Sort, Top-Down & Bottom-Up Merge Sort on Synthetic Data.”
[17] T. Alghamdi and G. Alaghband, “HIGH PERFORMANCE PARALLEL SORT FOR SHARED AND DISTRIBUTED MEMORY MIMD.”
[18] I. Mishal, R. Al-Khatib, and R. Hiasat, “Comparative Study of Two Divide and Conquer Sorting Algorithms: Modified Quick Sort and Merge Sort,” 2021.
[19] Y. Alhabboub, F. Almutairi, M. Safhi, Y. Alqahtani, A. Almeedani, and Y. Alguwaifli, “Accelerating Large-Scale Sorting through Parallel Algorithms,” Journal of Computer and Communications, vol. 12, no. 01, pp. 131–138, 2024, doi: 10.4236/jcc.2024.121009.
[20] K. A. Bakare, A. A. Okewu, Z. A. Abiola, A. Jaji, and A. Muhammed, “A COMPARATIVE STUDY OF SORTING ALGORITHMS: EFFICIENCY AND PERFORMANCE IN NIGERIAN DATA SYSTEMS,” FUDMA JOURNAL OF SCIENCES, vol. 8, no. 5, pp. 1–5, Sep. 2024, doi: 10.33003/fjs-2024-0805-2730.
[21] N. S. Abuba, E. Y. Baagyere, C. I. Nakpih, and J. K. Wiredu, “OptiFlexSort: A Hybrid Sorting Algorithm for Efficient Large-Scale Data Processing,” Journal of Advances in Mathematics and Computer Science, vol. 40, no. 2, pp. 67–81, Feb. 2025, doi: 10.9734/jamcs/2025/v40i21970.
[22] Z. Mamatnabiyev and M. Zhaparov, “COMPARATIVE ANALYSIS OF SORTING ALGORITHMS USED IN COMPETITIVE PROGRAMMING.”
[23] J. K. Wiredu, S. Akobre, I. Aabaah, and U. A. Wumpini, “A Unified Framework for Theoretical and Experimental Evaluation of Classical and Modern Sorting Algorithms in Real-Time Systems,” Journal of Information Systems and Informatics, vol. 7, no. 4, pp. 3143–3185, Dec. 2025, doi: 10.63158/journalisi.v7i4.1287.
[24] A. G. Aly, A. E. Jensen, and H. Elaarag, “EasyChair Preprint Improving Merge Sort and Quick Sort Performance by Utilizing Alphadev’s Sorting Networks as Base Cases Improving Merge Sort and Quick Sort Performance by Utilizing Alphadev’s Sorting Networks as Base Cases,” 2025, doi: 10.1145/YYYYYYY.YYYYYYY.
[25] A. Amini, “TwinArray Sort: An Ultrarapid Conditional Non-Comparison Based Sorting Algorithm,” Sep. 2024, [Online]. Available: http://arxiv.org/abs/2409.20362
[26] S. Sundaramoorthy and G. Karunanidhi, “A systematic analysis on performance and computational complexity of sorting algorithms,” Dec. 01, 2025, Springer Science and Business Media B.V. doi: 10.1007/s10791-025-09724-w.
[27] M. Hassan, G. Muhammad, J. A. Malik, M. Akhtar, M. A. Baloch, and M. A. Rajwana, “Sort Data Faster: Comparing Algorithms.”
[28] S. Arunachalam Balasubramanian, “Adaptive Hybrid Sort: Dynamic Strategy Selection for Optimal Sorting Across Diverse Data Distributions.”
[29] Achmad Fitro, “Comparison of Efficiency Data Sorting Algorithms Based on Execution Time,” International Journal of Scientific Research in Computer Science, Engineering and Information Technology, pp. 15–21, Mar. 2023, doi: 10.32628/cseit2390151.
[30] A. Fahreza Alif Pahlevi, “Quick sort and merge sort performance comparison in the flutter framework 1*,” Journal of Informatics and Science Media, vol. 1, no. 1.









.png)