Expand description
Foundry benchmark runner.
Modules§
Structs§
- Benchmark
Project - A benchmark project that represents a cloned repository ready for testing
- Repo
Config - Configuration for repositories to benchmark
Constants§
- RUNS
- Default number of runs for benchmarks
- WORKSPACE_
ROOT 🔒 - The workspace root, embedded at compile time.
benches/is one level below the workspace root.
Statics§
- BENCHMARK_
REPOS - FOUNDRY_
VERSIONS - Foundry versions to benchmark
Functions§
- default_
benchmark_ repos - Available repositories for benchmarking
- get_
forge_ version - Get the current forge version
- get_
forge_ version_ details - Get the full forge version details including commit hash and date
- install_
local_ version - Build and activate the local workspace via
foundryup --path. Uses cargo’s incremental compilation so re-runs are fast. - switch_
foundry_ version - Switch to a specific foundry version.