I stopped at 2000 as there was no possibility for the enemy to reach my wall anymore.
As if you build several big pyramids and update, no enemy robots will be able to approach your wall anymore, the big pyramids robots once updated are much stronger than anything else in the game.
Basically, if you go big pyramids, it is not possible to lose during this endurance level without quitting yourself.