57b84f2da3
Summary: In order to add kafka benchmark, `memgraph_bolt.cpp` has been split. Now we have `memgraph_init.cpp/hpp` files with common memgraph startup code. Kafka benchmark implements a new `main` function that doesn't start a bolt server, it just creates and starts a stream. Then it waits for the stream to start consuming and measures the time it took to import the given number of entries. This benchmark is in a new folder, `feature_benchmark`, and so should any new bechmark that measures performance of memgraphs features. Reviewers: mferencevic, teon.banek, ipaljak, vkasljevic Reviewed By: mferencevic, teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1552
11 lines
389 B
YAML
11 lines
389 B
YAML
- name: feature_benchmark__kafka
|
|
cd: kafka
|
|
commands: ./runner.sh
|
|
infiles:
|
|
- runner.sh # runner script
|
|
- transform.py # transform script
|
|
- generate.py # dataset generator script
|
|
- ../../../build_release/tests/feature_benchmark/kafka/kafka.py # kafka script
|
|
- ../../../build_release/tests/feature_benchmark/kafka/benchmark # benchmark binary
|
|
enable_network: true
|