2021-06-07 20:45:05 +08:00
|
|
|
add_subdirectory(procedures)
|
|
|
|
|
2022-01-21 17:22:36 +08:00
|
|
|
find_package(gflags REQUIRED)
|
|
|
|
|
2023-11-15 19:42:04 +08:00
|
|
|
# Global memory limit
|
|
|
|
|
2021-03-19 15:43:48 +08:00
|
|
|
add_executable(memgraph__e2e__memory__control memory_control.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__control gflags mgclient mg-utils mg-io Threads::Threads)
|
2021-06-07 20:45:05 +08:00
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_global_alloc memory_limit_global_alloc.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_global_alloc gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_global_alloc_proc memory_limit_global_alloc_proc.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_global_alloc_proc gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
|
2023-11-07 23:04:29 +08:00
|
|
|
add_executable(memgraph__e2e__memory__limit_delete memory_limit_delete.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_delete gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_accumulation memory_limit_accumulation.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_accumulation gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_edge_create memory_limit_edge_create.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_edge_create gflags mgclient mg-utils mg-io)
|
|
|
|
|
2023-11-15 19:42:04 +08:00
|
|
|
add_executable(memgraph__e2e__memory_limit_global_multi_thread_proc_create memory_limit_global_multi_thread_proc_create.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory_limit_global_multi_thread_proc_create gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory_limit_global_thread_alloc_proc memory_limit_global_thread_alloc_proc.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory_limit_global_thread_alloc_proc gflags mgclient mg-utils mg-io)
|
|
|
|
|
2023-11-07 23:04:29 +08:00
|
|
|
# Query memory limit tests
|
|
|
|
|
2023-10-25 22:01:59 +08:00
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_proc_multi_thread query_memory_limit_proc_multi_thread.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_proc_multi_thread gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_create query_memory_limit_create.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_create gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_proc query_memory_limit_proc.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_proc gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_create_multi_thread query_memory_limit_multi_thread.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_create_multi_thread gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
|
2023-11-07 23:04:29 +08:00
|
|
|
# Procedure memory limit tests
|
2023-10-25 18:16:11 +08:00
|
|
|
|
2023-11-07 23:04:29 +08:00
|
|
|
add_executable(memgraph__e2e__procedure_memory_limit procedure_memory_limit.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__procedure_memory_limit gflags mgclient mg-utils mg-io)
|
|
|
|
|
|
|
|
add_executable(memgraph__e2e__procedure_memory_limit_multi_proc procedure_memory_limit_multi_proc.cpp)
|
|
|
|
target_link_libraries(memgraph__e2e__procedure_memory_limit_multi_proc gflags mgclient mg-utils mg-io)
|