ooibc88
blockbench
C++

BLOCKBENCH: A Framework for Analyzing Private Blockchains. Blockbench contains workloads for measuring the data processing performance, and workloads for understanding the performance of different layers of Blockchain systems.

Last updated Jun 9, 2026
392
Stars
172
Forks
46
Issues
0
Stars/day
Attention Score
74
Language breakdown
No language data available.
Files click to expand
README

BlockBench

BlockBench is the first benchmarking framework for private blockchain systems. It serves as a fair means of comparison for different platforms and enables deeper understanding of different system design choices.

BlockBench comes with both macro benchmark workloads for evaluating the overall performance and micro benchmark workloads for evaluating performance of individual layers.

Workloads

Macro-benchmark

  • YCSB (KVStore).
  • SmallBank (OLTP).

Micro-benchmark

  • DoNothing (consensus layer).
  • IOHeavy (data model layer, read/write oriented).
  • Analytics (data model layer, analytical query oriented).
  • CPUHeavy (execution layer).

Source file structure

  • Smart contract sources are in benchmark/contracts directory.
  • Instructions and scripts to run benchmarks for Ethereum, Hyperledger Fabric v0.6, v1.4 and v2.2, Parity and Quorum are in ethereum,
hyperledger fabric v0.6 , hyperledger fabric v1.4, hyperledger fabric v2.2, parity , quorumraft and quorumvote directories respectively.
  • Drivers for benchmark workloads are in src directory.

Dependency

C++ libraries

Note: we patched this library to include the "Expect: " header in POST requests, which considerably improves the speed for processing RPC request at Parity.

+ The patch file is include in benchmark/parity folder. + To patch: go to top-level directory of restclient-cpp, then:

patch -p4 < $BLOCKBENCHHOME/benchmark/parity/patch_restclient

+ The installation can then proceed as normal.

Node.js libraries

Go to micro directory and use npm install to install the dependency libraries

Blockchain Systems

References

© 2026 GitRepoTrend · ooibc88/blockbench · Updated daily from GitHub