memgraph/tests/benchmark/query
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
..
execution.cpp Use and bench custom allocator in Distinct 2019-05-09 15:45:49 +02:00
planner.cpp Move GraphDbAccessor to stack in SN and HA 2019-04-17 11:29:43 +02:00
profile.cpp Output profiling data within the summary in JSON format 2019-01-17 13:54:06 +01:00
stripped.cpp Inline test data in the benchmark tests itself 2018-01-15 16:12:30 +01:00