diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-03 03:21:50 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-03 03:21:50 +0300 |
| commit | 0df5875a0ea49c4e7e05274d180b07f5cb56743d (patch) | |
| tree | dbc2da0da3a42c5253aa62aec61aaa1c18ec0483 /CMakeLists.txt | |
| parent | add Google's benchmark library as a submodule (diff) | |
| download | math-server-0df5875a0ea49c4e7e05274d180b07f5cb56743d.tar.gz math-server-0df5875a0ea49c4e7e05274d180b07f5cb56743d.zip | |
add a basic benchmark for lexer
I suspect std::regex is _horribly_ slow.
Will compare it to boost::regex, then decide.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 19b6164..65b8732 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,9 @@ add_subdirectory(client) add_subdirectory(server) if(ENABLE_TESTS) + set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Suppressing benchmark's tests" FORCE) + add_subdirectory("3rdparty/google/benchmark") + add_subdirectory(test) endif() |
