Java benchmarking tool

后端 未结 4 666
别跟我提以往
别跟我提以往 2020-12-06 02:58

I have written a small java application for which I need to obtain performance metrics such as memory usage, running time etc., Is there any simple to use performance measur

4条回答
  •  渐次进展
    2020-12-06 03:22

    For runtime metrics, use any profiler such as VisualVM, Netbeans Profiler, or the Eclipse TPTP Tools. A profiler usually gives you more fine-grained metrics such as the runtime for individual functions, hotspots, etc.

    You might also check out the list of Open Source JMX tools.

    Use these in combination with JMeter and other such load-generator tools.

提交回复
热议问题