twxs / hayai

C++ benchmarking framework

Home Page:http://nickbruun.dk/2012/02/07/easy-cpp-benchmarking/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hayai - the C++ benchmarking framework.

Build Status

hayai is a C++ framework for writing benchmarks for pieces of code along the lines of the normal approach for unit testing using frameworks such as googletest. For information on the origin of and how to use hayai, please read the introductory blog post until I have the time to write a proper README.

Building hayai

hayai is fully header based, but to use the simple main function as described in the introducty blog post, the source code must be compiled to provide libhayai_main. Compiling the source code requires CMake to be present on the system:

$ cd hayai
$ cmake .
$ make

This will also build the sample available in the sample/ directory of the repository.

About

C++ benchmarking framework

http://nickbruun.dk/2012/02/07/easy-cpp-benchmarking/

License:Other