Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the best tool for performance regression testing [closed]

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. when i run this function it takes < 2 seconds
  2. when i run this set of functions the total < 5 seconds
  3. etc . .

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.

Any suggestions?

like image 412
leora Avatar asked Mar 01 '10 13:03

leora


People also ask

Which tool is best for performance testing?

Apache JMeter Apache JMeter helps you measure and analyze software performance. It's an open source tool based on Java that people use mainly for testing web app performance, but it also finds usage on other services. It can test performance for both dynamic and static resources, as well as dynamic web apps.

What is performance regression testing?

Performance regression testing is a comparative approach that examines how a software application performs across in successive builds.


2 Answers

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

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.)

like image 115
Sanjay Ginde Avatar answered Oct 03 '22 06:10

Sanjay Ginde


You could try soap ui if your app is remotely accessible:

http://www.soapui.org/userguide/loadtest/index.html

It'll give you all the sort of stats your after:

http://www.soapui.org/userguide/loadtest/images/loadtest_editor.gif

like image 22
Mark Pope Avatar answered Oct 03 '22 07:10

Mark Pope