memgraph/tests/unit
Gareth Andrew Lloyd 8bc8e867e4
Pmr allocator unify ()
Query allocator and evaluation allocator were different.
After analysis, was determined they should be the same, this will help 
future development reduce TypeValue copies during queries.

Changes:
- Common allocator, PoolResource backed by MonotonicResource
- Optimized Pool, now O(1) alloc/dealloc as all chunks in Pool form a single 
  free list
- 2nd PoolResource, using bin sizing, not as perfect for memory usage but 
  O(1) bin selection
- Now have jemalloc's background thread to make sure decay and return 
  to OS happens
- Optimized ProperyValue to be faster at destruction/copy/move
- Less temporary memory allocations
  - CSV reader now maintains a common line buffer it reuses on line reads
  - Writing out bolt values, now reuses a values buffer
  - Evaluating an int no longer makes temporary strings for errors it most 
    likely never throws
  - ExpandVariable will reuse existing edge list in frame it one existed
2024-03-14 11:21:59 -07:00
..
auth_checker.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
auth_handler.cpp Adding authentication data replication () 2024-02-05 10:37:00 +00:00
auth.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
bfs_common.hpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
bfs_fine_grained.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
bfs_single_node.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
bolt_chunked_decoder_buffer.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
bolt_chunked_encoder_buffer.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
bolt_common.hpp Fix handling of the ROUTE Bolt message () 2022-08-26 13:19:27 +02:00
bolt_decoder.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
bolt_encoder.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
bolt_session.cpp Refactor interpreter to support multiple distributed clocks (Part 1) () 2023-10-05 16:58:39 +02:00
bolt_testdata.hpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
clearing_old_disk_data.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
CMakeLists.txt Improve in-memory RAFT state () 2024-03-06 09:16:46 +01:00
commit_log_v2.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
communication_buffer.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
coordination_utils.cpp Add force sync REPLICA with MAIN () 2024-03-05 16:51:14 +00:00
coordinator_cluster_state.cpp Improve in-memory RAFT state () 2024-03-06 09:16:46 +01:00
cpp_api.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
csv_csv_parsing.cpp Add HTTP+GZIP support to LOAD CSV () 2023-06-26 19:10:48 +02:00
cypher_main_visitor.cpp Improve registration queries in HA environment() 2024-03-13 13:04:27 +00:00
database_get_info.cpp Run CI in mgbuilder containers () 2024-03-14 12:19:59 +01:00
dbms_database.cpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
dbms_handler_community.cpp System replication experimental flag () 2024-02-13 12:57:18 +00:00
dbms_handler.cpp System replication experimental flag () 2024-02-13 12:57:18 +00:00
disk_test_utils.hpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage () 2023-06-29 11:44:55 +02:00
distributed_lamport_clock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) () 2023-10-05 16:58:39 +02:00
formatters.hpp Implement short circuiting of exists evaluation () 2023-11-27 16:44:12 +01:00
integrations_kafka_consumer.cpp Add cpp23 support () 2024-02-19 10:36:51 +00:00
interpreter_faker.hpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
interpreter.cpp Adding authentication data replication () 2024-02-05 10:37:00 +00:00
kafka_mock.cpp Add cpp23 support () 2024-02-19 10:36:51 +00:00
kafka_mock.hpp Add cpp23 support () 2024-02-19 10:36:51 +00:00
kvstore.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
license.cpp Add multiple license support () 2022-11-04 15:23:43 +01:00
lru_cache.cpp Fix cached plan not getting invalidated () 2023-11-07 13:34:03 +01:00
main.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
metrics.cpp Add license to cpp/hpp/py test files () 2021-10-26 08:53:56 +02:00
mgp_kafka_c_api.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
mgp_trans_c_api.cpp Making mgp_error enum class when compiling c++. Remains enum when com… () 2022-05-05 17:48:17 +02:00
monitoring.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
multi_tenancy.cpp System replication experimental flag () 2024-02-13 12:57:18 +00:00
network_endpoint.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_timeouts.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_utils.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
plan_pretty_print.cpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
property_value_v2.cpp Pmr allocator unify () 2024-03-14 11:21:59 -07:00
query_common.hpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
query_cost_estimator.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_dump.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
query_expression_evaluator.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_function_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… () 2022-05-05 17:48:17 +02:00
query_hint_provider.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_plan_accumulate_aggregate.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_plan_bag_semantics.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_plan_checker.hpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
query_plan_common.hpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
query_plan_create_set_remove_delete.cpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
query_plan_edge_cases.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
query_plan_match_filter_return.cpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
query_plan_operator_to_string.cpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
query_plan_read_write_typecheck.cpp Support label creation via property values () 2024-03-12 12:55:40 +00:00
query_plan_v2_create_set_remove_delete.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_plan.cpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
query_pretty_print.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_procedure_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… () 2022-05-05 17:48:17 +02:00
query_procedure_mgp_type.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_procedure_py_module.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_procedures_mgp_graph.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
query_profile.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_required_privileges.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
query_semantic.cpp List Pattern Comprehension planner () 2024-03-07 18:41:02 +04:00
query_serialization_property_value.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_streams.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
query_trigger.cpp Better auth user/role handling () 2024-02-22 14:00:39 +00:00
query_variable_start_planner.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
raft_log_serialization.cpp Improve Raft log serialization () 2024-03-05 07:33:13 +00:00
replication_persistence_helper.cpp HA: Disable replication from old main () 2024-02-07 11:20:47 +01:00
ring_buffer.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
rpc_messages.hpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
rpc.cpp Refactor replication, part 3 () 2023-08-25 10:52:07 +01:00
skip_list.cpp Fix SkipList iterators () 2024-01-23 15:31:28 +00:00
slk_advanced.cpp HA: Add coordinator to replication cluster () 2024-01-24 13:07:51 +01:00
slk_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_core.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
slk_streams.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
small_vector.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
socket.cpp Speedup socket unit test () 2023-11-01 17:24:24 +00:00
storage_rocks.cpp Optimise ORDER BY, RANGE, UNWIND () 2024-03-12 00:26:11 +00:00
storage_test_utils.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage () 2023-06-29 11:44:55 +02:00
storage_test_utils.hpp Include additional info inside storage mode info query () 2023-05-16 14:25:41 +02:00
storage_v2_constraints.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_decoder_encoder.cpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
storage_v2_disk.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage () 2023-06-29 11:44:55 +02:00
storage_v2_durability_inmemory.cpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
storage_v2_edge_inmemory.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_edge_ondisk.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_gc.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_get_info.cpp GetInfo simplification () 2024-02-26 14:55:45 +00:00
storage_v2_indices.cpp Implement edge type indices () 2024-03-08 08:44:48 +01:00
storage_v2_isolation_level.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_name_id_mapper.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_property_store.cpp Improve memory handling of Deltas () 2024-02-06 18:07:38 +01:00
storage_v2_replication.cpp Add --experimental-enabled=high-availability () 2024-02-19 16:28:15 +00:00
storage_v2_show_storage_info.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
storage_v2_storage_mode.cpp Adding authentication data replication () 2024-02-05 10:37:00 +00:00
storage_v2_wal_file.cpp Optimise ORDER BY, RANGE, UNWIND () 2024-03-12 00:26:11 +00:00
storage_v2.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
stripped.cpp Add support for map projection () 2023-05-16 20:05:35 +02:00
test_lcp.lisp LCP: Small test fixes 2019-05-10 16:10:17 +02:00
test_utils.hpp Making mgp_error enum class when compiling c++. Remains enum when com… () 2022-05-05 17:48:17 +02:00
transaction_queue_multiple.cpp Adding authentication data replication () 2024-02-05 10:37:00 +00:00
transaction_queue.cpp Adding authentication data replication () 2024-02-05 10:37:00 +00:00
typed_value.cpp HA: Add automatic failover () 2024-01-29 15:34:00 +01:00
utils_algorithm.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_async_timer.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
utils_exceptions.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_file_locker.cpp Add data directory status and (un)lock query () 2023-05-16 18:36:04 +02:00
utils_file.cpp Fixes for clang-tidy / sonar issues () 2023-11-22 13:05:02 +00:00
utils_histogram.cpp Expose system metrics over HTTP Endpoint () 2023-05-18 05:10:57 +00:00
utils_java_string_formatter.cpp Add GraphQL transpilation compatibility () 2023-07-31 14:48:12 +02:00
utils_math.cpp Add index statistics for better query planning () 2023-03-30 15:34:34 +02:00
utils_memory_tracker.cpp Fixup memory e2e tests () 2024-02-16 15:35:08 +00:00
utils_memory.cpp Pmr allocator unify () 2024-03-14 11:21:59 -07:00
utils_on_scope_exit.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_resource_lock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) () 2023-10-05 16:58:39 +02:00
utils_rwlock.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_scheduler.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_settings.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_signals.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_string.cpp ToString function now returns double values with precision 15 () 2024-01-12 12:32:34 +04:00
utils_synchronized.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_temporal.cpp Support creating date and localtime from localdatetime () 2023-11-03 10:54:01 +01:00
utils_thread_pool.cpp Fix usages of constexpr () 2022-03-31 13:52:43 +02:00
utils_timestamp.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00