From 0df5875a0ea49c4e7e05274d180b07f5cb56743d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 3 Jan 2020 03:21:50 +0300 Subject: add a basic benchmark for lexer I suspect std::regex is _horribly_ slow. Will compare it to boost::regex, then decide. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3