Research map / Large language models / Agents, code and math
Synthesizing Performance Constraints for Evaluating and Improving Code Efficiency
Jun Yang, Cheng-Chi Wang, Bogdan Alexandru Stoica, Kexin Pei
University of Chicago · National Taiwan University
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes synthesizing performance-constraint test inputs for code efficiency evaluation and optimization, going beyond hand-curated and length-stressing LLM-generated tests.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Evaluating LLM code optimization and suggesting optimization opportunities need high-quality tests that expose performance bottlenecks, but existing approaches use few hand-curated inputs or LLM-generated tests that only stress input length.
Approach
Synthesize inputs that satisfy performance constraints extracted from the program, so that generated tests reveal diverse performance bottlenecks rather than only length-stressing cases.
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- PerfCoder: Large Language Models for Interpretable Code Performance Optimization (ACL 2026 · similarity 0.91)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.89)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.89)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.88)
- EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimization (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.