My vote would be engine dyno, then track. We have put 20-30 pulls on one engine, trying to get the tune right, trying different things, etc. IMO, a dyno is harder on an engine than a race track, as there is no slippage anywhere and you can absolutely pull the guts out of one. However, I think you gain more data and knowledge there than on a chassis dyno.