Thanks a lot for your answers, great points!
In general the server side background task seems to be fast enough, majority of time is spent on client side. I’ll check the logging options to look into that: https://docs.sonarqube.org/display/SONAR/Analysis+Parameters#AnalysisParameters-AnalysisLogging