For a comparison of E and G to be meaningful the cost of conversion (in this case - in other’s the cost and production of batteries, etc.) ought be taken into account.
But on thing is true, the E motor is more efficient than it's gas counter part in converting its energy into work.