As soon as a better offer lands. You gain nothing by waiting. After some jumps the interval at which better offers come your way, will naturally increase: there are very few jobs that pay well, respect the workers and so on.
"You gain nothing by waiting."
That can depend on vesting.
The general wisdom is switching every two to two and a half years in order to maximize lifetime earnings.