From d84163e1ce78b440d953875f720bad4865bd113b Mon Sep 17 00:00:00 2001 From: Andrus Salumets Date: Thu, 1 May 2025 20:09:40 +0200 Subject: [PATCH] Update README.md --- surrealdb_bench/README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/surrealdb_bench/README.md b/surrealdb_bench/README.md index 0697108..b67cae3 100644 --- a/surrealdb_bench/README.md +++ b/surrealdb_bench/README.md @@ -1,13 +1,13 @@ # SurrealDB Benchmarks -This project contains a set of binaries designed to benchmark and compare the performance of SurrealDB and RocksDB. +This project contains a set of benches to benchmark and compare the performance of SurrealDB and RocksDB. -## Binaries +## Benches ### SurrealDB Binaries 1. **`surrealdb_select_all`** - - Selecting all records from a SurrealDB database. It uses SurrealDB SQL: "SELECT * FROM block" + - Selecting all records from a SurrealDB database. 2. **`surrealdb_parent_to_child_graph`** - Measures the performance of querying child-to-parent relationships using SurrealDB graph model(child->parent edges) @@ -18,14 +18,16 @@ This project contains a set of binaries designed to benchmark and compare the pe ### RocksDB Binaries 1. **`rocksdb_select_all`** - - Benchmarks the performance of selecting all records from a RocksDB database. + - Benchmarks the performance of selecting all records 2. **`rocksdb_parent_to_child`** - Measures the performance of querying child-to-parent relationships by querying parents by their key ## Usage -To run the benchmarks, you can use the following commands: +To run the benchmarks, you can use the following command: ```bash - ./run_benchmarks.sh -``` \ No newline at end of file + ./run_benchmarks.sh [BLOCKS_COUNT] +``` + +Default `BLOCKS_COUNT` is 1000000 \ No newline at end of file