guuzaa / gtest-benchmark-example

C++/17 GTest and Benchmark Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ GTest and Benchmark Example

1. Description

If you want to benchmark your functions against other functions, you can add whose declaration and implements into /src.

2. Build

mkdir build
cd build
cmake ..
cmake --build .

Unit Test binary files are compiled into /build/test/, and Benchmark binary files are compiled into /build/bench/.

About

C++/17 GTest and Benchmark Example

License:MIT License


Languages

Language:C++ 66.3%Language:CMake 33.7%