shifting while racing...

TUNNING!?!?!?!?!

Exactly.

With a dyno & Your gear ratios You can figure out the best shift points for almost anything.