Cocoa and chocolate good for cognition

In a May 2017 study, researchers at University of L’Aquila, L’Aquila and the University of Rome found that,

“Although randomized controlled trials investigating the acute effect of cocoa flavanols are sparse, most of them point towards a beneficial effect on cognitive performance. Participants showed, among others, enhancements in working memory performance and improved visual information processing after having had cocoa flavanols."

And for women, "eating cocoa after a night of total sleep deprivation actually counteracted the cognitive impairment (i.e. less accuracy in performing tasks) that such a night brings about. Promising results for people that suffer from chronic sleep deprivation or work shifts.”