Is stopwatch benchmarking acceptable?

后端 未结 13 2218
夕颜
夕颜 2020-11-28 03:07

Does anyone ever use stopwatch benchmarking, or should a performance tool always be used? Are there any good free tools available for Java? What tools do you use?

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 03:28

    I don't think stopwatch benchmarking is too horrible, but if you can get onto a Solaris or OS X machine you should check out DTrace. I've used it to get some great information about timing in my applications.

提交回复
热议问题