I have searched on the internet before, but cannot get a suitable tool.
I found tools to profile jdbc performance, gc statistics, but no some obvious tool to measure the time spent in each statement.
I would like found which statements are spending the most of the time of my app in my company. However, I cannot install anything on the server of my company, can I still measure the time?
Usually we develop the program in eclipse first, then we move the progame to the linux server. I can install app for eclipse. Or if JVM provide someway to do this profiling, I would be pleased and thankful to know about that.
Thank you all.