A Yellowstone Geyser gRPC endpoint benchmarking tool.
GeyserBench is a performance testing tool that connects to multiple Solana gRPC endpoints simultaneously and measures their speed and reliability in detecting transactions.
- Connect to multiple gRPC endpoints simultaneously
- Measure endpoint performance metrics:
- First detection rate
- Average delay
- Median and 95th percentile latency
- Simple summary output for quick comparison
- Detailed metrics for in-depth analysis
Download the latest release from the releases page.
When first run, GeyserBench will create a default config.toml
file. Edit this file to customize your benchmark:
[config]
transactions = 1000
account = "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
commitment = "processed"
[[endpoint]]
name = "Yellowstone GRPC"
url = "https://api.mainnet-beta.solana.com:10000"
x_token = "YOUR_TOKEN_HERE"
kind = "yellowstone"
[[endpoint]]
name = "Corvus ARPC"
url = "http://0.0.0.0:20202"
x_token = ""
kind = "arpc"
[[endpoint]]
name = "Thor Streamer"
url = "http://0.0.0.0:50051"
x_token = "YOUR_TOKEN_HERE"
kind = "thor"
[[endpoint]]
name = "Shreder.xyz"
url = "http://0.0.0.0:10000"
x_token = "YOUR_TOKEN_HERE"
kind = "shreder"
transactions
: Number of transactions to measureaccount
: Account address to monitor for transactionscommitment
: Transaction commitment level (processed, confirmed, finalized)endpoint
: Array of gRPC endpoint configurations:name
: Name for the endpointurl
: gRPC endpoint URLx_token
: Authentication token (if required)kind
: Geyser provider type (yellowstone, arpc, thor, shreder, etc.)
-
Run GeyserBench to generate the default config:
./geyserbench
-
Edit the generated
config.toml
file with your endpoint details -
Run the benchmark:
./geyserbench
GeyserBench provides both simplified and detailed output:
Finished tests results
endpoint 1: Win rate 85.23%, avg delay 0.00ms (fastest)
endpoint 2: Win rate 10.45%, avg delay 42.31ms
endpoint 3: Win rate 4.32%, avg delay 78.56ms
Detailed tests results
----------------------------------
Fastest Endpoint: endpoint 1
First detections: 82 out of 97 valid transactions (84.54%)
Delays relative to fastest endpoint:
endpoint 2:
Average delay: 42.31 ms
Median delay: 38.75 ms
95th percentile: 62.18 ms
Min/Max delay: 12.45/89.32 ms
Valid transactions: 97