memgraph/src/communication
Teon Banek b7f77d40ad Stack allocate the RPC Request
Summary:
There's no need to heap allocate the request which is used only to be
serialized and sent over the network. Unfortunately, this change
complicates the reading a bit, because we need to deserialize the raw
pointer and put it in std::unique_ptr instead of simply deserializing
the unique_ptr.

Heap allocation shows up visibly in perf during benchmarks, so this
change may yield some improvement.

Reviewers: mferencevic, mtomic

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1254
2018-02-28 16:22:45 +01:00
..
bolt Fix Bolt timeout check 2018-02-26 18:18:01 +01:00
raft Refactor RPC 2018-02-23 12:07:22 +01:00
rpc Stack allocate the RPC Request 2018-02-28 16:22:45 +01:00
listener.hpp Add thread names 2018-02-23 16:04:49 +01:00
result_stream_faker.hpp Add single query manual test 2017-11-23 14:51:46 +01:00
server.hpp Add thread names 2018-02-23 16:04:49 +01:00