memgraph/tests/benchmark
Teon Banek 394039a05e Use and bench custom allocator in Distinct
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
2019-05-09 15:45:49 +02:00
..
data_structures RingBuffer - buffer on heap instead of stack 2017-11-02 12:07:23 +01:00
query Use and bench custom allocator in Distinct 2019-05-09 15:45:49 +02:00
CMakeLists.txt Use and bench custom allocator in Distinct 2019-05-09 15:45:49 +02:00
edge_storage.cpp Edge storage benchmark added 2017-09-08 13:12:20 +02:00
existence_constraint.cpp Move GraphDbAccessor to stack in SN and HA 2019-04-17 11:29:43 +02:00
expansion.cpp Migrate to C++17 2019-04-23 14:46:44 +02:00
mvcc.cpp Refactor storage file structure 2018-11-06 18:17:31 +01:00
rpc.cpp Remove Cap'n Proto 2019-05-08 10:51:10 +02:00
serialization.cpp Remove Cap'n Proto 2019-05-08 10:51:10 +02:00
skip_list_common.hpp Implement new SkipList 2019-01-14 13:01:15 +01:00
skip_list_random.cpp Implement new SkipList 2019-01-14 13:01:15 +01:00
skip_list_real_world.cpp Implement new SkipList 2019-01-14 13:01:15 +01:00
skip_list_same_item.cpp Implement new SkipList 2019-01-14 13:01:15 +01:00
skip_list_vs_stl.cpp Implement new SkipList 2019-01-14 13:01:15 +01:00
tx_engine.cpp Remove virtual and pimpl from single node 2018-10-09 11:48:30 +02:00