Compare the algorithm multiple times