Title : 
Which sorting algorithms to choose for hard real-time applications
         
        
            Author : 
Mittermair, D. ; Puschner, P.
         
        
            Author_Institution : 
Inst. fur Tech. Inf., Tech. Univ. Wien, Austria
         
        
        
        
        
        
            Abstract : 
This paper compares the worst-case performance of eight standard sorting algorithms. It investigates how well-suited these algorithms are for hard real-time systems. In a series of experiments, we determined the average and worst-case execution times of the sorting algorithms for different numbers of elements to be sorted (in the range between 7 and 1000 elements). Average times were extracted from test runs with random data, whereas the worst-case times were determined both analytically with an analysis tool and experimentally by construction of the worst-case input data for each algorithm. The experiments demonstrate that algorithms that are well-suited for normal needs are not necessarily suited for hard real-time systems. Thus, the results help to choose the right sorting algorithm for real-time applications
         
        
            Keywords : 
computational complexity; real-time systems; software performance evaluation; sorting; analysis tool; average execution times; execution times; hard real-time applications; random data; sorting algorithms; worst-case input data; worst-case performance; Algorithm design and analysis; Application software; Data mining; Iterative algorithms; Programming; Prototypes; Real time systems; Sorting; Testing; Time measurement;
         
        
        
        
            Conference_Titel : 
Real-Time Systems, 1997. Proceedings., Ninth Euromicro Workshop on
         
        
            Conference_Location : 
Toledo
         
        
            Print_ISBN : 
0-8186-8034-2
         
        
        
            DOI : 
10.1109/EMWRTS.1997.613792