cppbench
What is it?
Cppbench is a lightweight C++ benchmark framework. It’s designed for directly comparable benchmarks.
License
Simplified BSD License
Features
- High fidelity stopwatch. It chooses the best timing functions available on your system.
- Cross platform
- Windows – Visual Studio 2010, Cygwin, MinGW
- Linux – GCC
- Easy API
- Similar to unit tests with preBench and postBench functions for initialization and cleanup
- One line addition/deletion of new benchmarks which makes it easy to enable/disable with commenting a single line
- Output formatters
- CsvFormatter
- ConsoleFormatter
- XmlFormatter
- Full doxygen comments
- Examples included
Getting the Software
The software is available at: https://bitbucket.org/qbproger/cppbench/overview
The README file includes information about how to build cppbench. There is an examples folder with examples of how how to use the library.
Documentation
ChangeLog
- 0.2 – 01.04.2011
- Added user and system timing
- Added XmlFormatter
- Tested under Cygwin
- 0.1 – 12.22.2010
- Initial Release
