According to the python documentation, time.clock is the function to be used for timing algorithms, not time.time.