Home

Awesome

<!-- markdownlint-disable --> <div align="center"> <h1> Gomu Gomu no Gatling </h1> <img src="./docs/images/gomu-gomu-no-bg.png" width="256"> </div> <br /> <!-- markdownlint-restore -->

GitHub Workflow Status Project license Pull Requests welcome Rust docs Rust crate

Exploration_Team

Blazing fast tool to benchmark Starknet sequencers 🦀.

Installation

From source

git clone https://github.com/keep-starknet-strange/gomu-gomu-no-gatling
cd gomu-gomu-no-gatling
cargo install --path .

From crates.io

cargo install --locked gatling

Run debug

RUST_LOG=debug cargo run -- shoot -c config/default.yaml

Usage

gatling --help

For Katana, currently you need to increase the DEFAULT_PREFUNDED_ACCOUNT_BALANCE in constants to 0xffffffffffffffffffffffffffffffff and run the node with flag --no-validate.

Configuration

Gomu gomu's configuration is specified as a yaml file. You can find example configurations under the config folder.

As it uses the config crate under the hood, the configuration could be specified as any other file type such as TOML or JSON.

The configuration is defined by the following spec

v0 and v1 CAN'T be specified at the same time

Run a load test

gatling shoot -c config/default.yaml

For read tests:

gatling read -c config/default.yaml

Output

The main output of gomu gomu is the report output location specified in specified in the configuration file.

At the end of all benchmarks gomu gomu will collect the results into a single json file with the following structure:

Gomu gomu will also display into the console information about each step in the benchmark.

Resources

Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/abdelhamidbakhta"><img src="https://avatars.githubusercontent.com/u/45264458?v=4?s=100" width="100px;" alt="Abdel @ StarkWare "/><br /><sub><b>Abdel @ StarkWare </b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=abdelhamidbakhta" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/EvolveArt"><img src="https://avatars.githubusercontent.com/u/12902455?v=4?s=100" width="100px;" alt="0xevolve"/><br /><sub><b>0xevolve</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=EvolveArt" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://droak.sh/"><img src="https://avatars.githubusercontent.com/u/5263301?v=4?s=100" width="100px;" alt="Oak"/><br /><sub><b>Oak</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=d-roak" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/drspacemn"><img src="https://avatars.githubusercontent.com/u/16685321?v=4?s=100" width="100px;" alt="drspacemn"/><br /><sub><b>drspacemn</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=drspacemn" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/haroune-mohammedi"><img src="https://avatars.githubusercontent.com/u/118889688?v=4?s=100" width="100px;" alt="Haroune &#124; Quadratic"/><br /><sub><b>Haroune &#124; Quadratic</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=haroune-mohammedi" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/dbejarano820"><img src="https://avatars.githubusercontent.com/u/58019353?v=4?s=100" width="100px;" alt="Daniel Bejarano"/><br /><sub><b>Daniel Bejarano</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=dbejarano820" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/nicbaz"><img src="https://avatars.githubusercontent.com/u/932244?v=4?s=100" width="100px;" alt="nbz"/><br /><sub><b>nbz</b></sub></a><br /><a href="https://github.com/keep-starknet-strange/gomu-gomu-no-gatling/commits?author=nicbaz" title="Code">💻</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->