39
edits
Changes
→Assignment 1
The first profiling was done with zero optimization:
[[File:FlatProfile.jpgJPG]]
The second profiling was done with the -O2 flag compiler optimization:
[[File:O2Flag_FlatProfile.jpgJPG]]
As you can see, the majority of the cumulative time is done in the "look" function shown here: