Compares which algorithm better for the task