Hello everyone,
I wanted to know if there was a possibility to get a report or something similar that would allow me to see the execution time of my rules during an analysis and their memory consumption.
Must-share information :
- which versions are you using:
- SonarQube - Community Edition Version 9.6.1 (build 59531)
- how is SonarQube deployed:
- wsl2 Docker local deployment
- what are you trying to achieve:
- Get a report of execution time and shared memory
- what have you tried so far to achieve this:
- Here is everything I tested:
- Stopwatch:
The Stopwatch class, can’t work if the rule is called n times, I have to add up all the returned times and it’s very long - All parameters of type :
sonar.profiler.enabled, sonar.showProfiling or verbose but none of them work/return any report - API Sonar:
SonarQube API to try and get a summary of the rules but I can’t find anything.
- Stopwatch:
- Here is everything I tested:
Is there a simple way to find out how long each rule takes to execute? In addition to knowing their memory consumption?
Thank you in advance for your help,
Elio.