开发者

C++ unit test for testing performance (synthetic benchmark)

is there any library 开发者_如何学JAVAjust like unit testing library, but instead of testing for correctness, its testing the performance of such functions, the output is execution time, cpu instruction count, performance variance, cache-miss, etc..


I use gprof and valgrind for performance profiling. They certainly work on Linux and you can pretty much do all the things you mention.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜