A question for module developers. Same asked on the FB group.
I'm courious how many of you also uses any JVM profiler like i.e. VisualVM (free) of JProfiler (commercial) to verify your code performance in the VM? I guess it may be relevant considering some people experiencing performace issues in VM 2.
Profiling the performance of VM modules.
-
- Posts: 49
- Joined: Sun Aug 25, 2019 10:26 am
Re: Profiling the performance of VM modules.
I am just getting back into module development after a break away. I was successfully using visualvm under version 1 to find and resolve performance issues.
I was coding all classes in question in Eclipse with a test harness to test against VisualVM. I haven't applied the VisualVM interface to the VM runtime.
I am just re-looking at the tool chain now to see if there is a better way to structure my projects to work well with performance testing while being easy to integrate in to the interface.
I was coding all classes in question in Eclipse with a test harness to test against VisualVM. I haven't applied the VisualVM interface to the VM runtime.
I am just re-looking at the tool chain now to see if there is a better way to structure my projects to work well with performance testing while being easy to integrate in to the interface.
Re: Profiling the performance of VM modules.
There was a thread about this a while back: viewtopic.php?f=9&t=230&hilit=profile
I recall getting it working at one point, but something in my setup broke eventually and I haven't been back to it for quite a while.
Cheers,
--
Terry McG
I recall getting it working at one point, but something in my setup broke eventually and I haven't been back to it for quite a while.
Cheers,
--
Terry McG
Re: Profiling the performance of VM modules.
I also use VisualVM, recentry switched to JProfiler - a bit expensive but more stable and much easier to use. I remember since certain version of VisualVM it there is a need to specify which classes should be included in the profiler - sometimes stopping and starting the profiler i.e. to switch from CPU to Memory profiler breaks something and VisualVM needs to be restarted. But overall works well.terrymcg wrote: ↑Sun May 31, 2020 3:43 pm There was a thread about this a while back: viewtopic.php?f=9&t=230&hilit=profile
--
Terry McG
-
- Posts: 74
- Joined: Mon Jan 28, 2019 5:51 am
Re: Profiling the performance of VM modules.
Used it a bit but have some problems with the beta version of the designer. Need to test it with "Run with external profiler support", in that mode I only have access to my own modules, none of the Cherry audio ones.
Re: Profiling the performance of VM modules.
I think thats a good thing - in this mode they can probably ease some security measures to give us better visibility on what's under the hoodflucatcher wrote: ↑Mon Jun 01, 2020 9:23 pm Need to test it with "Run with external profiler support", in that mode I only have access to my own modules, none of the Cherry audio ones.
-
- Posts: 74
- Joined: Mon Jan 28, 2019 5:51 am
Re: Profiling the performance of VM modules.
Yep, agree, if they can open up for more info its absolutely worth it. But miss being able to compare CPU of my module with CPU of one of theirs.
Complete newbie when it comes to profiling in Java so need to watch some tutorials.
Complete newbie when it comes to profiling in Java so need to watch some tutorials.
Re: Profiling the performance of VM modules.
This seems like just a first step in a path on the roadmap - I'm sure they will do something about this. Slowly but surely