mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-03 21:53:08 +00:00
Update README.md
This commit is contained in:
parent
555158a117
commit
d84163e1ce
@ -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
|
||||
```
|
||||
./run_benchmarks.sh [BLOCKS_COUNT]
|
||||
```
|
||||
|
||||
Default `BLOCKS_COUNT` is 1000000
|
||||
Loading…
x
Reference in New Issue
Block a user