什么是性能回归测试的最佳工具 [英] what is the best tool for performance regression testing

查看:362
本文介绍了什么是性能回归测试的最佳工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的组织正在寻找一种工具来帮助在每个版本的性能测试。我们推出一大堆新的软件,我们希望确保在关键职能,业绩自上次发布PROD并未放缓。我们在C#和Java代码。这一点可以从任何内容:

our organization is looking for a tool to help with performance testing on each release. We ship a whole bunch of new software and we want to ensure that performance on key functions has not slowed down since the last prod release. We have code in C# and Java. This can be anything from:


  1. 当我运行该功能需要与LT; 2秒

  2. 当我运行这组函数总< 5秒

  3. 等。

时最好还是做到这一点使用我们的基本单元测试与手写性能检查持续集成(NUnit的,JUnit中,团队市)还是有可以帮助重点放在这方面的具体工具。

Is it best to do this using our basic unit testing continuous integration (nunit, junit, team city) with hand written performance checks or are there specific tools that can help focus on on this area.

有什么建议?

推荐答案

在我的项目(这往往使用Spring),我用的是AOP和的 PerformanceMonitorInterceptor

On my projects (which tend to use Spring), I use the AOP and the PerformanceMonitorInterceptor.

虽然你可能不使用Spring,它肯定了一些好的代码来看待和可以依据一个版本的自己。我发现AOP适合这种情况,因为它不会弄乱实际的函数调用。如果你有一个层次的应用,那么你可以在每个级别将这些性能监视器。 (通常为我的webapps,我把它当作我的数据访问层,所以我可以监视数据库的查询性能。)

While you may not use Spring, it's definitely some good code to look at and can base a version of your own. I found AOP perfect for this situation because it does not clutter up the actual function calls. If you have a tiered application, then you can put these performance monitors at each level. (Typically for my webapps, I put it as my data access layer so I can monitor database query performance.)

这篇关于什么是性能回归测试的最佳工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆