Skip to content

Implement gas/resource profiling harness and per-entrypoint cost report #281

Description

@OxDev-max

Description: No benchmark anywhere measures CPU/memory instruction cost per contract entrypoint — without this, it's impossible to know which functions (distribute_yield's loop is the obvious suspect) are closest to Soroban's resource budget ceiling before mainnet deployment.
Suggested execution: git checkout -b feature/gas-profiling-harness. Build a profiling harness using Soroban testutils' budget-tracking API, running every public entrypoint across all 7 contracts and producing a cost report table, published in docs/PERFORMANCE.md (pairs with C3).
Example commit message: feat: add gas/resource profiling harness and per-entrypoint cost report
Guidelines: PR description must include Closes #<this-issue-number>. Complexity: High (200 points).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions