Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Profiling Code with Virtual VM (http://www.chiefdelphi.com/forums/showthread.php?t=154243)

crezeshox 25-01-2017 17:00

Profiling Code with Virtual VM
 
Hi,

Has anyone been able to get jstatd on the roboRIO and profile the code using Virtual VM? We have been considering installing jstatd on it and we want to know if someone has managed to get it running.

Additionally, we would like to know if anyone knows of any code profilers we could use or if profiling robot code is even worthwhile.

phurley67 07-02-2017 01:04

Re: Profiling Code with Virtual VM
 
Did you have any luck profiling your code? We are regularly using 85-90% cpu and spiking to a 100%, which seems to cause intermitent CAN timeouts. We do have a fair amount of logging in place, and are trying to do a fair amount, but it would be nice to narrow down the slower bits of code and remove/replace as necessary, rather than chopping stuff out at random, until we find the slowest/most run portions.

Thanks


All times are GMT -5. The time now is 21:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi