The wiki says that the petroleum generator produces 300,000 EU off of one bucket of fuel at 25 EU/t
The wiki says that the diesel generator produces 384,000 EU off of one bucket of fuel at 12 EU/t
So the diesel generator would produce more EU but the petroleum generator would produce it faster