Gas is definitely not the same. Justin at BBP showed me on his computer the different numbers between cheap 93 octane and good 93 octane from Chevron or the like while we were driving my Tahoe.
This is good info. The octane rating of petrol has nothing to do with the quality of the fuel. The only quality that octane ratings measure is how likely the petrol is to detonate under compression.