Performance optimization
Repository-level optimization improves when agents receive measured runtime evidence rather than broad instructions. PerfAgent identifies hotspots with a sampling profiler, validates each patch, and feeds speedup results back for up to five rounds. With GPT-5.1, expert-matching patches rose from 19.6% to 39.2% on GSO and from 26% to 74% on SWE-efficiency-Lite.
MoST supplies a complementary form of executable guidance. It converts optimization knowledge from commits and technical documents into validated Semgrep rules, including strategies transferred across languages and architectures. On 351 historical tasks, it produced 24.44%–180.00% more exact developer-matching patches than SemOpt. Together, the studies support task-specific measurement and validated rules as stronger optimization signals than unguided generation.