Open main menu

CDOT Wiki β

Lucky Charms

Revision as of 20:55, 10 April 2018 by Ytian38 (talk | contribs) (A3: Optimize)

Progress

A1: Select and Assess

There wasn't a project source code for this. Everything was written by yours truly. etc. etc. etc. The 10 algorithms tested are:

Source Code

bubble sort

 

selection sort

 

insertion sort

   

merge sort

 

heap sort

 

quick sort

 

counting sort

 

radix sort

 

bucket sort

 

shell sort

 

files

sort.h algorithms file, main.cpp (v1) file, main.cpp (v2) file, utilities.h file


Results

Flat Profile

 

Call Graph

 

Clustered Column Chart

 



A2: Parallelize

Source Code

bubble sort

 

selection sort

 

insertion sort

Cant be parallelized.


Results

Visual Profiler

Parallel NSight

Comparison

A3: Optimize

Source Code

bubble sort

 

selection sort

 


Results

Visual Profiler

Parallel NSight

Comparison