TRACE: Evaluating Execution Efficiency of LLM-Based Code Translation
Not on the map. Why?
Abstract (arXiv)
While Large Language Models (LLMs) have substantially improved the functional correctness of code translation, the critical dimension of execution efficiency remains overlooked. We present textbftextscTrace, the first benchmark to explicitly assess efficiency in LLM-translated code. textscTrace includes 1,000 efficiency-critical tasks across C++, Java, and Python, each augmented with stress tests that reveal efficiency disparities often overlooked by small-scale tests. Using textscTrace, we conduct an extensive evaluation of 28 representative LLMs and highlight several key insights: 1) Correctness and efficiency are often misaligned: the correctness leader Claude-Sonnet-4-Think achieves only moderate time efficiency, outperformed by smaller open-source LLMs such as Qwen2.5-Coder-14B-Instruct. 2) Inefficiency is both prevalent and patterned: 23.5% of correct translations suffer from notable inefficiency, mainly arising from algorithm implementation discrepancy (11.9%), language construct mismatch (66.4%), and resource management inefficiency (21.7%). 3) Inference-time prompt strategies bring only modest improvements, indicating that simple prompting alone is insufficient to improve translation efficiency. Together, our results establish execution efficiency as an essential dimension of code translation and position textscTrace as a principled foundation for efficiency-oriented evaluation.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Aug 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026The Script is All You Need: An Agentic Framework for Long-Horizon Dialogue-to-Cinematic Video Generationcited by 8
- 2026CodeHacker: Automated Test Case Generation for Detecting Vulnerabilities in Competitive Programming Solutionscited by 8
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labelscited by 0
- 2026CodeHacker: Automated Test Case Generation for Detecting Vulnerabilities in Competitive Programming Solutions23 Feb 2026
- 2026The Script is All You Need: An Agentic Framework for Long-Horizon Dialogue-to-Cinematic Video Generation25 Jan 2026
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labels24 Nov 2025