Profiling the performance of VM modules.

Post Reply
User avatar
nekomatic
Posts: 64
Joined: Mon Jul 08, 2019 8:52 pm

Profiling the performance of VM modules.

Post by nekomatic »

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.
arbuxMusic
Posts: 49
Joined: Sun Aug 25, 2019 10:26 am

Re: Profiling the performance of VM modules.

Post by arbuxMusic »

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.
terrymcg
Posts: 85
Joined: Mon Apr 08, 2019 12:35 am

Re: Profiling the performance of VM modules.

Post by terrymcg »

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
User avatar
nekomatic
Posts: 64
Joined: Mon Jul 08, 2019 8:52 pm

Re: Profiling the performance of VM modules.

Post by nekomatic »

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
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.
flucatcher
Posts: 74
Joined: Mon Jan 28, 2019 5:51 am

Re: Profiling the performance of VM modules.

Post by flucatcher »

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.
User avatar
nekomatic
Posts: 64
Joined: Mon Jul 08, 2019 8:52 pm

Re: Profiling the performance of VM modules.

Post by nekomatic »

flucatcher 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.
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 hood :)
flucatcher
Posts: 74
Joined: Mon Jan 28, 2019 5:51 am

Re: Profiling the performance of VM modules.

Post by flucatcher »

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.
User avatar
nekomatic
Posts: 64
Joined: Mon Jul 08, 2019 8:52 pm

Re: Profiling the performance of VM modules.

Post by nekomatic »

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 :)
Post Reply

Return to “Module Designer”