Automated detection of application performance bottlenecks