Structs§
- Benchmark
Entry - A single benchmark result.
Constants§
- MAINNET_
BLOCK_ GAS_ LIMIT - MAINNET_
CONTRACT_ MAX_ SIZE - MAINNET_
GAS_ PER_ BYTE - MAINNET_
GAS_ PRICE_ FACTOR - MAINNET_
MAX_ GAS_ PER_ PREDICATE - MAINNET_
MAX_ GAS_ PER_ TX - MAINNET_
MAX_ MESSAGE_ DATA_ LENGTH - MAINNET_
MAX_ PREDICATE_ DATA_ LENGTH - MAINNET_
MAX_ PREDICATE_ LENGTH - MAINNET_
MAX_ STORAGE_ SLOTS - MAINNET_
MAX_ TX_ SIZE
Functions§
- apply_
mainnet_ consensus_ params - Applies Fuel mainnet (Ignition v7) consensus parameters to
chain_configin-place. Call this insidesetup_wallets_mainnetbefore launching the provider so benchmarks reflect real on-chain constraints. - bench_
filter - Regex for filtering benchmarks to execute.
Configured via environment variable
BENCH_FILTER. - bench_
is_ list_ only - True if benchmarks should only be listed and not executed.
Configured via environment variable
BENCH_LIST_ONLY:BENCH_LIST_ONLY=1 - extract_
gas_ used - Returns the total gas consumed by a contract call response.
- write_
bench_ results - Writes benchmark results to the JSON output files specified by the
BENCH_OUTPUT_GASandBENCH_OUTPUT_MATCHESenvironment variables (defaulting tobenchmark-results-{gas|matches}.jsonin the current directory).