Benchmarks
The benchmarks are meant to give insight into the throughput of VOID Apps. This repo contains three separate benchmarks.
-
Max TPS
Determination of the maximum transactions per second that can be processed in a single thread. This is useful as an upper bound on max throughput assuming infinite proving speeds due to a parallel setup. -
ZK Proving (Risc Zero)
Determination of the expected proving speed (in TPS) for a given machine and configuration. This benchmark produces results with a tradeoff between proof latency and max throughput. -
ZK Proving (SP1)
Determination of the expected proving speed (in TPS) for a given machine and configuration. This benchmark produces results with a tradeoff between proof latency and max throughput.
Benchmark Results
The best benchmark numbers recorded so far come from a high-end gaming computer with an AMD Ryzen 9950X and an RTX 5090 with the following results:
- Approximately 225,000 transactions (swaps) per second (single-threaded)
- Proving speeds of 12 transactions (swaps) per second at a latency of 30s (single GPU)
- Proving speeds of 8 transactions (swaps) per second at a latency of 10s (single GPU)
- Proving latency as low as 4s (single GPU)
Note: these are early performance numbers with optimizations still in the works (particularly for zk proving)