The complexity of continuous local search