mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-05-02 23:53:12 +00:00
SurrealDB Benchmarks
This project contains a set of binaries designed to benchmark and compare the performance of SurrealDB and RocksDB.
Binaries
SurrealDB Binaries
-
surrealdb_select_all- Selecting all records from a SurrealDB database. It uses SurrealDB SQL: "SELECT * FROM block"
-
surrealdb_parent_to_child_graph- Measures the performance of querying child-to-parent relationships using SurrealDB graph model(child->parent edges)
-
surrealdb_parent_to_child_pointers- Measures the performance of querying child-to-parent relationships by querying parents by their key
RocksDB Binaries
-
rocksdb_select_all- Benchmarks the performance of selecting all records from a RocksDB database.
-
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:
./run_benchmarks.sh