## Summary Measure the instruction count of every public function using the Soroban budget API and identify hot paths that exceed 25 million instructions. ## Tasks - [ ] Add a `benches/` directory with a Criterion-style benchmark harness (or use `env.budget()` assertions) - [ ] Profile `apply_for_issue` — suspected 3 storage reads + 2 writes - [ ] Profile `assign_issue` — suspected 5 storage reads + 3 writes - [ ] Consolidate redundant reads by caching in local variables - [ ] Document instruction budgets in a `docs/performance.md` file
Summary
Measure the instruction count of every public function using the Soroban budget API and identify hot paths that exceed 25 million instructions.
Tasks
benches/directory with a Criterion-style benchmark harness (or useenv.budget()assertions)apply_for_issue— suspected 3 storage reads + 2 writesassign_issue— suspected 5 storage reads + 3 writesdocs/performance.mdfile