开发者

How to do programmatic profiling while running a testng

开发者 https://www.devze.com 2023-01-28 00:46 出处:网络
I\'m planning to do some profiling around a set of regression test cases. My idea is to leverage AOP around the testng methods which will invoke some profiling tool api and print the profiled data at

I'm planning to do some profiling around a set of regression test cases. My idea is to leverage AOP around the testng methods which will invoke some profiling tool api and print the profiled data at the end of the test case execution. I want to log data such as number of objects created, memory 开发者_开发百科used, etc. during the test execution.

Just wondering if there's an open source profiler API which will help me in getting the data ?I take a look into JMVTI, but not sure if it can provide me the information I'm looking at. Moreover, it needs to have an agent deployed and invoked through command line.

Any pointers will be highly appreciated.

Thanks


Take a look at http://www.AppDynamics.com

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号