C ++的性能测试实用程序 [英] Performance testing utilities for C++
本文介绍了C ++的性能测试实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
会很漂亮。我们现在使用cppunit进行单元测试,所以也许有一些集成的东西。
一些更多的信息:我们正在Linux上编译(我们使用Ubuntu Lucid /
解决方案
一些建议:
- googletest C ++框架能够生成JUnit兼容
- Hudson 可以用于运行测试。它只需要您的C ++应用程序可以作为控制台应用程序运行。
- Hudson性能插件可以从JUnit报表生成图表。
- 还有很多其他插件。
I was curious whether anyone has any suggestions for performance testing libraries and frontends that will produce nice graphical charts for C++ (like how gcov produces coverage data and there are frontends out there for viewing the code coverage data). Being able to produce charts like:
would be pretty slick. We use cppunit right now for unit testing, so maybe there is something that integrates with that.
Some more info: We're compiling on Linux (we use Ubuntu Lucid/Maverick) on Intel x86-64 machines.
解决方案
Some suggestions:
- The googletest C++ framework is capable of producing JUnit-compatible reports.
- Hudson can be used to run your tests. It only requires that your C++ application can be run as a console application.
- The Hudson Performance Plugin can generate graphical charts from JUnit reports.
- There are many other plugins.
这篇关于C ++的性能测试实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文