I think that what is more important is not what you eat, but with what mood you sit down to play. But I noticed that it is very difficult to play on an empty stomach, you definitely need to eat. But this is a rule for me, maybe for someone the other way around.