394039a05e
Summary: According to the written benchmark, using MonotonicBufferResource yields significant improvements to performance of Distinct. The setup fills the database with vertices depending on the benchmark state. No edges are created. Then we run DISTINCT on that. Since each vertex is unique, we will store everything in the `DistinctCursor::seen_rows_`, which is backed by a MemoryResource. This setup, on my machine, yields 10 times better performance when run with MonotonicBufferResource. Reviewers: mferencevic, mtomic, msantl Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1894 |
||
---|---|---|
.. | ||
data_structures | ||
query | ||
CMakeLists.txt | ||
edge_storage.cpp | ||
existence_constraint.cpp | ||
expansion.cpp | ||
mvcc.cpp | ||
rpc.cpp | ||
serialization.cpp | ||
skip_list_common.hpp | ||
skip_list_random.cpp | ||
skip_list_real_world.cpp | ||
skip_list_same_item.cpp | ||
skip_list_vs_stl.cpp | ||
tx_engine.cpp |