KAU CPCS 223 Analysis & Design of Algorithms

Compare Sorting Performance

Compare the performance of 2 famous sorting algorithms: bubble sort and quicksort.

To see the output:

  1. Press F12 to access browser developer tools
  2. Switch to Console tab

You should see a list size and some timing data (refresh page, if needed).

Right-click and select "View Page Source". Check the line with the <script ...> tag to see how the code is called from this web page.