-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joularjx does not profile other Java methods other main() method in Spring Boot application #66
Comments
config.properties
|
joularjx-result for PetClinic Spring Boot app - see zip. Observations for PetClinic:
Observations for other JVM methods:
|
Thanks for reporting this issue, which needs te be analyzed further to get what's going on and why JoularJX is failing to provide energy data after the initial start. In the mean time, did you check the proposed tweak in my first comment in issue #64 (putting while true instead of destroyvm)? |
I managed to replicate the issue (no need to send me a jar, I compiled the one from petclinic's git). If you change |
You could try the proposed fix in branch fixForApplicationServers, just download and recompile with Maven JoularJX in that branch. There is a new config property for application servers which you need to set to true: |
Thanks for the detailed update and investigation. I'll try to debug the issue but some of the numbers are expected due to the limitation of JoularJX:
The petclinic app has many of these small methods, which explains why you have fewer methods in the second run than the first. All the smaller energy methods (0.x) are usually observed once or twice, and might have missed the observation. |
Thank you @adelnoureddine! Looking forward to your further inputs. |
Hi, great work on Joularjx - an important piece in Green Software hence we are keen to make full use of it.
We are profiling the sample Pet Clinic Spring Boot app and noticed only the main() method gets profiled but other app specific methods are not. This happens even though we have specified the top most package name for the pet clinic app.
config.properties
used.-- Are you able to provide me a location to upload the jar? it is 52MB and does not pass the Github upload restrictions of 25MB.
In the meantime we will profile a non spring boot app to see and another internal spring boot app to compare.
This issue might be related to this same issue reported: #64
Thank you!
TC
The text was updated successfully, but these errors were encountered: