如何衡量Java开发中的性能 [英] How to measure performance in Java developement
本文介绍了如何衡量Java开发中的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何工具可以测量每个函数调用的执行时间,并找出给定开发java j2se项目的瓶颈?谢谢!
Is there any tool can measure execution time for each function call and find out bottle neck for a given developing java j2se project? Thanks!
推荐答案
使用分析工具,例如 YourKit , JProfiler 和 HPROF (这是一个命令行工具)。
Use profiling tools, such as YourKit, JProfiler and HPROF (this one is a command line tool).
这篇关于如何衡量Java开发中的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文