Many high-performance engines are designed to operate with a high maximum compression, and thus demand fuels of higher octane. A common misconception is that power output or fuel efficiency can be improved by burning fuel of higher octane than that specified by the engine manufacturer. The power output of an engine depends in part on the energy density of the fuel being burnt. Fuels of different octane ratings may have similar densities, but because switching to a higher octane fuel does not add more hydrocarbon content or oxygen, the engine cannot develop more power.
However, burning fuel with a lower octane rating than that for which the engine is designed often results in a reduction of power output and efficiency. Many modern engines are equipped with a
knock sensor (a small
piezoelectric microphone), which sends a signal to the
engine control unit, which in turn retards the
ignition timing when detonation is detected. Retarding the ignition timing reduces the tendency of the fuel-air mixture to detonate, but also reduces power output and fuel efficiency. Because of this, under conditions of high load and high temperature, a given engine may have a more consistent power output with a higher octane fuel, as such fuels are less prone to detonation.
from reading the
https://en.wikipedia.org/wiki/Octane_rating - I am getting the impression that the higher the octane rating the more and more it resists detonation. At some point, I would think that would be counter productive to output...obviously highly dependent on the capabilities of the engine design.