How does octane affect engine performance?
The higher a fuels octane rating, the more compression and heat that fuel can handle before spontaneously detonating. If you are able to increase compression (more air and more fuel), you will have a bigger explosion within the cylinder, leading to more performance.