Empirical Performance Analysis of BST and AVL Tree on Modern Computing Architectures: A Stress Test Study Under Varying Data Distributions

  • Hazna At Thooriqoh UPN Veteran Jawa Timur
  • Ibnu Khoirul Anwar UPN Veteran Jawa Timur
  • Dimas Nugroho Dwi Seputro UPN Veteran Jawa Timur
Keywords: AVL Tree, Binary Search Tree, Data Distribution, Game Leaderboard, Performance Analysis, Stress Test

Abstract

Binary Search Tree (BST) and AVL Tree are fundamental data structures widely used for dynamic data management in performance-critical systems. Although both structures offer efficient theoretical complexity, their practical performance on modern systems is highly influenced by data distribution and workload characteristics. This study presents an empirical performance evaluation of BST and AVL Tree using a stress-test approach based on a game leaderboard system as a representative case study. Multiple workload patterns were simulated, including random, sequential (ascending and descending), and clustered data distributions, to reflect realistic high-frequency updates commonly observed in modern applications. Experimental results show that BST achieves slightly better performance under random data distributions due to the absence of balancing overhead. However, BST experiences severe performance degradation under sequential inputs, where it degenerates into an unbalanced structure. In contrast, the AVL Tree consistently maintains logarithmic height, achieving speedups of up to 32x compared to BST in worst-case scenarios.These findings indicate that while BST can be effective under controlled average-case conditions, AVL Tree provides superior robustness and predictable performance under non-uniform and adversarial workloads. For modern high-load systems such as game leaderboards, the balancing overhead of AVL Tree represents a minimal trade-off compared to the substantial stability and performance guarantees it offers.

Downloads

Download data is not yet available.

References

FEDOROV, F. (1990). Soviet Math. Dokl. In Soviet Mathematics-Doklady (Vol. 41, No. 2, p. 438). American Mathematical Society..

Liu, Y. (2024, 25 Juli). A comparative analysis of self-balancing binary search trees [Special Mathematics Lecture: Graph Theory (Spring 2024)]. Nagoya University. https://www.math.nagoya-u.ac.jp/~richard/teaching/s2024/SML_Liu_2.pdf

Weiss, M. A. (2002). Data Structures and Algorithm Analysis in C: For Anna University, 2/e. Pearson Education India.

T. H. Cormen, Ed., Introduction to algorithms, 3. ed. Cambridge, Mass.: MIT Press, 2009.

R. A. Brown, “Comparative Performance of the AVL Tree and Three Variants of the Red-Black Tree,” 2024, arXiv. doi: 10.48550/ARXIV.2406.05162.

J. S. Kushwah, D. Gupta, A. Shrivastava, P. Ambily Pramitha, J. T. Abraham, dan M. Lunagaria, “Analysis and visualization of proxy caching using LRU, AVL tree and BST with supervised machine learning,” Mater. Today Proc., vol. 51, hlm. 750–755, 2022, doi: 10.1016/j.matpr.2021.06.224.

A. Rojas-Salazar dan M. Haahr, “Learning Binary Search Trees through Serious Games based on Analogies,” dalam International Conference on the Foundations of Digital Games, Bugibba Malta: ACM, Sep 2020, hlm. 1–6. doi: 10.1145/3402942.3402999.

D. Biebert, C. Hakert, dan J.-J. Chen, “Realizing Hardware-Optimized General Tree-Based Data Structures for Heterogeneous System Classes”.

G. Hou, J. Huang, F. Zhang, dan S. Wang, “Efficient Concurrent Updates to Persistent Randomized Binary Search Trees,” Proc. VLDB Endow., vol. 18, no. 5, hlm. 1481–1494, Jan 2025, doi: 10.14778/3718057.3718074.

Y. Kim, M. Papamichael, O. Mutlu, dan M. Harchol-Balter, “Thread Cluster Memory Scheduling: Exploiting Differences in Memory Access Behavior,” dalam 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture, Atlanta, GA, USA: IEEE, Des 2010, hlm. 65–76. doi: 10.1109/MICRO.2010.51.

S. Williams, A. Waterman, dan D. Patterson, “Roofline: an insightful visual performance model for multicore architectures,” Commun. ACM, vol. 52, no. 4, hlm. 65–76, Apr 2009, doi: 10.1145/1498765.1498785.

S. Khutwad dan A. Pal, “Query Processing for Distributed data using AVL Tree,” dalam 2021 5th International Conference on Information Systems and Computer Networks (ISCON), Mathura, India: IEEE, Okt 2021, hlm. 1–6. doi: 10.1109/ISCON52037.2021.9702419.

H. Hirata dan A. Nunome, “Performance Evaluation on Parallel Speculation-Based Construction of a Binary Search Tree,” Int. J. Networked Distrib. Comput., vol. 11, no. 2, hlm. 88–111, Des 2023, doi: 10.1007/s44227-023-00013-w.

L. Hohensinn, J. Willems, B. George, dan S. Van De Walle, “Performance rankings reduce cognitive processing of underlying performance information,” Public Manag. Rev., hlm. 1–23, Feb 2025, doi: 10.1080/14719037.2025.2464761.

Rahmawati, D. P., & Dwi Seputro, D. N. (2025). PENINGKATAN PEMAHAMAN GROOMING SERVICE MELALUI PELATIHAN BERBASIS PRETEST DAN POSTTEST PADA KARYAWAN SUWEGER INDONESIA. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 456 - 462. https://doi.org/10.36378/bhakti_nagori.v5i2.4587

Mumtazah Nadhiroh, A. K., Febrianti, A., Ultami, J. N., Ikhsan, M. A., & Hasibuan, R. (2025). PENINGKATAN PENGETAHUAN GIZI SEIMBANG DAN POLA HIDUP SEHAT BAGI SISWA SEKOLAH DASAR MELALUI PROGRAM EDUKASI INTERAKTIF DI SDIT SWASTA AL-MUNAYA: PKM. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 463 - 470. https://doi.org/10.36378/bhakti_nagori.v5i2.4595

Wirasada, G. D., & Zawawi , Z. (2025). PENERAPAN MANAJEMEN OPERASIONAL DI PT. AGRODANA FUTURES: STUDI PADA PROSES EKSEKUSI TRANSAKSI DAN LAYANAN NASABAH. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 471 - 477. https://doi.org/10.36378/bhakti_nagori.v5i2.4602

Nurza, R. P., Tessa, T., Dzhabi, M., Nazli, R., & Khomarudin, A. N. (2025). PENYULUHAN EDUKASI PENGATURAN SCREEN TIME DAN FILTER KONTEN DIGITAL PADA KELUARGA DI POSYANDU BUNDO KANDUANG. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 478 - 487. https://doi.org/10.36378/bhakti_nagori.v5i2.4637

Rizki Fortuna, J., Ilmi Romadhoni, S., & Sari Tondang, I. (2025). PELATIHAN PEMANFAATAN KOTORAN KAMBING MENJADI PUPUK ORGANIK DI BALAI PENYULUHAN PERTANIAN PORONG: PKM MBKM. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 488 - 494. https://doi.org/10.36378/bhakti_nagori.v5i2.4638

Devi, E., Fauziah Nurrahmah, F., Masruroh, M., Olivia Sinaga, S. L., Pribadi Ayuningtyas, Z., & Mardi Suryanto, T. L. (2025). EFEKTIVITAS PELATIHAN AQUAPONIK TERHADAP PENINGKATAN PENGETAHUAN DAN KETERAMPILAN PERTANIAN BERKELANJUTAN DI KELURAHAN JAMBANGAN. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 495 - 503. https://doi.org/10.36378/bhakti_nagori.v5i2.4742

Trimono, T., Ningtiyas, R. W., Icha Rohmatul Jannah, Aliya Dasa Pramesthi, Putra, A., Wardah Ariij Adibah, & Ade Irma Agustian. (2025). SOSIALISASI ORANG TUA TENTANG BAHAYA GADGET BAGI ANAK-ANAK. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 504 - 512. https://doi.org/10.36378/bhakti_nagori.v5i2.4773

Nainggolan, L. E., Cahya Putra, D. S., Nur Laily, R. S., Ekamartha, K. N., Hidayatullah, S., & Firdausi Novira Rachman, R. A. (2025). STRATEGI PEMBERDAYAAN LINGKUNGAN MELALUI BUDIDAYA TOGA DAN INOVASI SMARTBIN DI KELURAHAN MANYAR SABRANGAN. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 513 - 522. https://doi.org/10.36378/bhakti_nagori.v5i2.4783

M. Yusfahmi, Febri Haswan, Nofri Wandi Al-Hafiz, Elgamar Syam, Helpi Nopriandi, Jasri, Aprizal, Harianja, Erlinda, Sri Chairani, Gunardi Hamzah, & Morine Delya Octa. (2025). SOSIALISASI DAN PENERAPAN APLIKASI BERBASIS TEKNOLOGI INFORMASI UNTUK MENDUKUNG TRANSFORMASI DIGITAL BUMDes TEBING TINGGI. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 712 - 719. https://doi.org/10.36378/bhakti_nagori.v5i2.4910

Yogica, R., Yuhelman, N., Wanda Marten, T., & Hazizah, N. (2025). PENGUATAN PERAN KOMUNITAS OTOMOTIF DALAM EDUKASI PENCEGAHAN TAWURAN REMAJA . BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 927 - 935. https://doi.org/10.36378/bhakti_nagori.v5i2.4941

Faizah Qurrata Aini, Fitri Amelia, Dwi Finna Syolendra, Nofri Yuhelman, Fauzana Gazali, Minda Azhar, Fajriah Azra, Yerimadesi, Andromeda, Miftahul Khair, Zonalia Fitriza, Suryelita, Viona Maharani, Achie Keylla, Munifa Mahdiah, Melati Wahyuni, Rifka Andani, Ayu Wulandari, & Ulfa Autafia. (2025). WORKSHOP PEMANFAATAN AI UNTUK PENGEMBANGAN E-LKPD PADA PEMBELAJARAN DEEP LEARNING DI SMAN 1 PADANG SAGO: PKM. BHAKTI NAGORI (Jurnal Pengabdian Kepada Masyarakat), 5(2), 1123 - 1133. https://doi.org/10.36378/bhakti_nagori.v5i2.4764

Published
2026-06-06
How to Cite
Hazna At Thooriqoh, Anwar, I. K., & Seputro, D. N. D. (2026). Empirical Performance Analysis of BST and AVL Tree on Modern Computing Architectures: A Stress Test Study Under Varying Data Distributions. JURNAL TEKNOLOGI DAN OPEN SOURCE, 9(1), 64 - 78. https://doi.org/10.36378/jtos.v9i1.5628
Abstract viewed = 12 times
PDF downloaded = 6 times