42049b4d56
Adds benchmarking capabilities and small grammar fix. |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
benchmark_utils.h | ||
parser_benchmark.cpp |
README.md
Benchmark
This directory contains the scripts to execute benchmarks of the parser. We use Google Benchmark to define and run benchmarks.
Install Google Benchmark
cmake -DCMAKE_BUILD_TYPE=Release
make
make install
Run the benchmarks
Build the libary from the parent directory and then execute:
make run
# or manually...
make
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../
./parser_benchmark
... or run this from the parent directory:
# From root of Git repository.
make run_benchmark