running dangerously lean I would assume that if the detonation sensor is working it would be pulling timing. Also would assume that if it is running lean enough to detonate, that fattening up the mixture should add a little power by cooling the intake charge.