57b84f2da3
Summary: In order to add kafka benchmark, `memgraph_bolt.cpp` has been split. Now we have `memgraph_init.cpp/hpp` files with common memgraph startup code. Kafka benchmark implements a new `main` function that doesn't start a bolt server, it just creates and starts a stream. Then it waits for the stream to start consuming and measures the time it took to import the given number of entries. This benchmark is in a new folder, `feature_benchmark`, and so should any new bechmark that measures performance of memgraphs features. Reviewers: mferencevic, teon.banek, ipaljak, vkasljevic Reviewed By: mferencevic, teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1552
33 lines
752 B
CMake
33 lines
752 B
CMake
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/test_results/unit)
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/test_results/benchmark)
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/test_results/property_based)
|
|
|
|
include_directories(${GTEST_INCLUDE_DIR})
|
|
|
|
# benchmark test binaries
|
|
add_subdirectory(benchmark)
|
|
|
|
# macro_benchmark test binaries
|
|
add_subdirectory(macro_benchmark)
|
|
|
|
# stress test binaries
|
|
add_subdirectory(stress)
|
|
|
|
# concurrent test binaries
|
|
add_subdirectory(concurrent)
|
|
|
|
# manual test binaries
|
|
add_subdirectory(manual)
|
|
|
|
# unit test binaries
|
|
add_subdirectory(unit)
|
|
|
|
# property based test binaries
|
|
add_subdirectory(property_based)
|
|
|
|
# integration test binaries
|
|
add_subdirectory(integration)
|
|
|
|
# feature benchmark test binaries
|
|
add_subdirectory(feature_benchmark)
|