How to Benchmark Memgraph [or Neo4j] with Benchgraph?
Blog post from Memgraph
Benchmarking databases like Memgraph and Neo4j can be a complex and time-consuming task, especially when trying to set up a "production-like" scenario. Benchgraph, a tool used for executing benchmarks, can be integrated into a CI/CD environment to simplify running benchmarks on these databases with user-specific hardware, workloads, and conditions. To set up a benchmark, users need at least Python 3.7, Docker, and basic Python knowledge. They must create a Python script that inherits the workload class and define methods for dataset and index generation, as well as the queries to be benchmarked. Benchmarks are executed using a command line interface, and results can be exported and compared using an HTML file for a visual representation. The tool allows for configuration through various arguments to simulate different conditions and can benchmark different database vendors by adjusting queries and indexes accordingly. Users are encouraged to share their results and engage with the community for support and further exploration.