/cpp_benchmark

Test basic C++ functionalities using google benchmark

Primary LanguageC++Apache License 2.0Apache-2.0

This project uses Google Benchmark to test basic C++ functionalities.

Dependencies

This project depends on:

  • Google Test
  • Google Benchmark
  • CMake

gtest and google benchmark are expressed as git submodules.

Build

$ clone git@github.com:benoitmartin88/cpp_benchmark.git
$ cd cpp_benchmark
$ git submodule update --init --recursive
$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release .. && make

# list built files
$ ls benchmark
# run a bench
$ ./benchmark/trycatch