Heuristic choosing of method based on timings