This is a follow up thread to Expected performance hit with new Java analyzer?
After upgrading SonarJava from 6.2 to 6.3 the time for analysis dropped from about 45 hours to 33 hours; however, it is still not on par with the time it required using version 5.14 (about 3 hours). Inbetween nothing major changed (some rules were activated, some deactivated; there were no spikes in runtime).
The following are the runtimes of the different sensors of the last four analyses:
6.2 6.2 6.3 6.3
Sensor JavaSquidSensor [java]: ............... 175163028 163599582 121202580 120987414
Load global settings: ........................ 124 130 133 120
Sensor JavaXmlSensor [java]: ................. 225 219 207 232
JavaTestClasspath initialization: ............ 1 1 1 2
Load project settings for component key: 'key': 16 14 40 18
Sensor Java CPD Block Indexer: ............... 36028 31286 32324 23926
Sensor Zero Coverage Sensor: ................. 12255 10773 11316 11187
Sensor Custom1: .............................. 2685 2763 2748 2744
Load metrics repository: ..................... 20 22 24 19
Sensor SurefireSensor [java]: ................ 2 3 2 2
Sensor JaCoCo XML Report Importer [jacoco]: .. 104 99 99 99
Java Generated Files AST scan: ............... 1 1
Java Test Files AST scan: .................... 269567 256111 248909 255587
Sensor Custom2: .............................. 4541 3887 4301 3842
Load plugins index: .......................... 41 49 50 31
Load active rules: ........................... 121 128 386 138
Java Main Files AST scan: .................... 174878300 163329044 120943535 120723901
Load/download plugins: ....................... 253 136 66 46
Load project repositories: ................... 1364 957 1065 940
Load quality profiles: ....................... 39 29 40 26
JavaClasspath initialization: ................ 13455 12803 9395 7255
Timings (in milliseconds) are from the scanner log files, if necessary I can provide the full log file. I do not have logs for 5.14 anymore.