STRING (Satuan Tulisan Riset dan Inovasi Teknologi)
Vol 8, No 3 (2024)

Perbandingan Algoritma Sorting dengan Menggunakan Bahasa Pemograman Javascript dalam Penggunaan Waktu Komputasi dan Penggunaan Memori

Wijaya, Surya (universitas nasional)
Fauziah, Fauziah (Universitas Nasional)
Harjanti, Trinugi Wira (Sekolah Tinggi Informatika, NIIT)



Article Info

Publish Date
05 Apr 2024

Abstract

Data that is sequential or neatly arranged data is highly necessary because sorted data makes it easier to read, inspect, and correct any erroneous data. In information technology, there are many algorithms for data sorting, including merge sort, insertion sort, heap sort, quick sort, selection sort, shell sort, and so on. In this test, seven sorting algorithms (Merge Sort, Insertion Sort, Bubble Sort, Heap Sort, Quick Sort, Selection Sort, and Shell Sort) were used with random data testing scenarios of 100, 150, and 200 data points, using the JavaScript programming language. The research findings indicate that insertion sort is the most efficient algorithm in terms of time, with an average time of 0.613 seconds. Quick sort is the most efficient algorithm in terms of memory, with an average memory usage of 31072 Kb.

Copyrights © 2024






Journal Info

Abbrev

STRING

Publisher

Subject

Computer Science & IT Mathematics

Description

STRING (Satuan Tulisan Riset dan Inovasi Teknologi) focuses on the publication of the results of scientific research related to the science and technology. STRING publishes scholarly articles in Science and Technology Focus and Scope Covering: 1. Computing and Informatics 2. Industrial Engineering ...