Java benchmarking tool

后端 未结 4 624
别跟我提以往
别跟我提以往 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:12

    One program that doesn't get mentioned is Oracle's (BEA) Mission Control. It comes with the JRockit JVM (which is supposed to be the fastest JVM on the Intel platform), which is available free from http://www.oracle.com/technology/software/products/jrockit/index.html.

    Mission Control is essentially Oracle/BEA's counterpart to JConsole, but offers significantly more. It'll even work with other JVMs, though you'll need JRockit to take advantage of the more advanced features (e.g., method profiling).

    0 讨论(0)
  • 2020-12-06 03:21

    Apache JMeter has a ton of features, for benchmarking http requests, JDBC calls, web services, JMS, mail, regular Java requests, etc.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-06 03:30

    Yourkit is pretty good (free 30 day trial). Eclipse also has built in TPTP tools.

    0 讨论(0)
提交回复
热议问题