Expand description
Performance contract verification (CI/CD gate). Extends provable-contracts framework to performance bounds. See spec section 3.4 and 7.1.
Structs§
- Contract
Verification - Result of verifying a single contract.
- Falsification
Check - Hardware
Spec - Metric
Bound - Performance
Bound - Performance
Contract - A performance contract loaded from YAML.
Functions§
- load_
contract - Load a performance contract from a YAML file.
- load_
contracts_ dir - Load all contracts from a directory.
- run_
generate - Generate a performance contract YAML from a profile or estimated values.
- run_
verify - Run contract verification for a directory of contracts.
- verify_
contract - Verify a contract against measured values. Loads saved profiles from /tmp/cgp-{kernel}-{size}.json if available, and checks performance bounds + falsification expressions.