Gasoline quality is a consideration.
Ethanol in gasoline reduces its energy content, and thus the generator's power output. Generator manufacturers test and rate their products using ethanol-free gas, so this power reduction isn't reflected in their specifications.
The upshot is that a generator with marginal power output using ethanol-free gas will have even more marginal output using gas with ethanol in it.
The maximum amount of ethanol allowed in gasoline was recently increased to 15 percent - so this is going to be more of an issue than it previously was.
Since ethanol tends to shorten the storage life of gasoline, many folks avoid using it in generators. Unfortunately, in areas where ethanol-free gas is available, it usually costs quite a bit more. That extra expense needs to be included when comparing fuel costs.