Ideally, you do both. Optimize on crap hardware, tweak on nice hardware.