See [here](https://github.com/SonarSource/sonar-plugin-api/blob/master/docs/optimize-sensors.md) how to leverage APIs introduced recently to help optimize sensors in order to achieve faster analysis.