Higher octane just prevents knocking, nothing to do with potential energy, if mic hears the knock. it decreases the boost or the ignition advance, nothing else.