Java/Web 应用程序的基准测试工具
我正在尝试找到一个工具,基本上能够提供在我的环境、数据库和方法执行时间中运行的 statsD(https://github.com/etsy/statsd) 守护进程。
有没有一种方法可以插入 JDBC 和类,并随查询一起发送每个 sql 查询的时间。我还需要分析每个方法和堆栈跟踪,并能够测量每个方法完成所需的时间。
理想情况下,如果我们可以将其打包为 JAR,并且开发人员几乎可以在即插即用模式下使用它,那就太好了。
谢谢;
I am trying to find a tool to basically be able to give a statsD(https://github.com/etsy/statsd) deamon running in my environment, database and method execution times.
Is there a way I can plug into JDBC and the classes, and send out the times for each of the sql queries along with the query. I also need to profile each of the methods, and the stack trace, and be able to measure the time taken by each method to complete.
Ideally it'd be really nice if we could just package this as a JAR, and the developer can pretty much use it in Plug N Play mode.
Thanks;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您部署在 tomcat 上:Spring Insight(独立 WAR)将为您完成所有工作,包括 SQL 查询。如果您使用 Spring Tool Suite,它甚至会直接跳转到触发“this”查询的代码。
If you are deployed on tomcat: Spring Insight (stand alone WAR) will do all the work for you, including SQL queries. If you are using Spring Tool Suite, it'd even jump directly to the code from where "this" query was fired.