Anyway to speed up analysis of java script?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube Docker 7.9.3
  • what are you trying to achieve
    We have a java project with 370K line of java script, and currently need 4 hours to complete analysis, We wonder if there is any way to speed up analysis of java script(like parallel processing or other good suggestion)?
  • what have you tried so far to achieve this
    Tried to increase memory from 2GB to 4GB memory, no big difference.
    Tried to add --parallel in ./gradlew sonarqube and no big difference as well


Which memory did you try to increase? The good way would be to use sonar.javascript.node.maxspace (setting it to 4096 for example).
Could you share the logs?
That’s not normal to have 4h for such analysis