This is kind of a general question. Lets say:
Scenario 1
You add 3degress advance to the high octane table in the general WOT ranges (say somewhere in 0.68g/cyl-->0.88g/cyl @ 4k rpm-->6500rpm). I don't have the table in front of me, so bear with me as I'm going off memory.
Lets say that with the 3 degrees addition of timing you are getting ~11.5 AFR and NO knock retard. One would expect a power increase due to increased timing and no KR correct? Even though you are running a tad rich.
Scenario 2
You decide to lean PE to get the values near 13.0 AFR in the above ranges. Leaning the AFR however creates some KR so you have to take out lets say all 3 degrees of timing in the above areas. (for sake of arguement, see scenario 3 for the mix of both) You are now running leaner ~13.0AFRs in those ranges. One would expect a power increase due to the AFRs being closer to the lean/best power range correct? Even with stock timing values.
Scenario 3
Kind of a mixture of the above. 1-2 degree advanced with AFRs in 12.5 no KR.
Which scenario produces more power? Obviously KR in any of the 3 is bad because it could pull timing more than necessary to compensate. Lets focus simply on the AFRs/timing here and negate the obvious changes due to different gas, hotter air/fuel, etc...just something I was trying to figure out.