It's all in the timing of the engine and the fuel mixture. In the old school days, (carburettors and distributors) you would make the fuel mixture a bit ritcher to reduce fuel starvation and slightly retard the timing. These days it's all done with a performance chip in the cars ECU.