Preferably use Visual C++ (community edition is for free)
Consider the following basic algorithms:
Implement and compare the performance based on the following
Compare the outcomes to make sure the algorithms are doing the
same thing (use random data as input).
Measure time, calculate computational performance (operations/second), bandwidth (bytes per second) and cycles per basic instruction (query the clock frequency).
Compare this for all the versions.
Calculate the speedup with the sequential version with full optimization (-O2 flag).
Also compare the sequential version with versions with lower optimization levels.
- Back to the top -