Cognitive performance diagnostics