mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-03-16 00:33:22 +00:00
SurrealDB Benchmarks
This project contains a set of benches to benchmark and compare the performance of SurrealDB and RocksDB.
Benches
SurrealDB Binaries
-
surrealdb_select_all- Selecting all records from a SurrealDB database.
-
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
-
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 command:
./run_benchmarks.sh [BLOCKS_COUNT]
Default BLOCKS_COUNT is 1000000