Java: how do I see which parts of my code run the most? (analysis)
•
Java
I write a simple checkers game in Java When I put the mouse on the board, my processor can rise to 50% (100% for the core)
I want to know which part of my code (assuming my fault) is executing
I've tried debugging, but in this case, step - by - step debugging doesn't work well
Is there any tool that can tell me where my problem is? I am currently using eclipse
Solution
This is called "analysis" Your ide may have one: see open source profilers in Java
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码