EffiBench-X is the first multi-language benchmark designed specifically to evaluate the efficiency of LLM-generated code across six programming languages: Python, C++, Java, JavaScript, Ruby, and Golang. The dataset comprises 623 competitive programming problems paired with human expert solutions as efficiency baselines.
EffiBench-X addresses critical limitations in existing code generation benchmarks by providing:
Multi-language evaluation across Python, C++, Java, JavaScript, Ruby, and Golang
Efficiency-focused metrics including execution time, memory peak, and memory integral
Human expert baselines for reliable efficiency comparison
Curated by: Yuhao Qing, Boyu Zhu, Mingzhe Du, Zhijiang Guo, Terry Yue Zhuo, Qianru Zhang, Jie M. Zhang, Heming Cui, Siu-Ming Yiu, Dong Huang, See-Kiong Ng, Luu Anh Tuan
Institutions: HKU, UCL, NTU, NUS, HKUST, Monash University, CSIRO's Data61, KCL
Language(s) (NLP): English
License: Apache License 2.0
The dataset contains 623 problems categorized into:
Key fields per record include:
id, title, title_slug, description, description_md, difficulty, tags, source, url, typetime_limit_nanos, memory_limit_bytesstarter_code: language-keyed starter snippetssolutions: language-keyed canonical solutions (e.g., for cpp, golang, java, javascript, python3, ruby)test_case_generator: executable code string that programmatically produces testsevaluator: executable code string to determine pass/fail given expected vs. program outputgenerated_tests: serialized tests produced by the generatortest_runners: language-keyed runner templates for executing solutionsAll problems are from competitive programming platforms.
Existing code generation benchmarks primarily focus on functional correctness with limited attention to efficiency, often restricted to Python. EffiBench-X addresses three critical limitations:
Problems are curated from competitive programming platforms. Each problem includes:
Please cite our paper if you use this dataset:
@article{qing2025effibench,
title={EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code},
author={Qing, Yuhao and Zhu, Boyu and Du, Mingzhe and Guo, Zhijiang and Zhuo, Terry Yue and Zhang, Qianru and Zhang, Jie M and Cui, Heming and Yiu, Siu-Ming and Huang, Dong and Ng, See-Kiong and Tuan, Luu Anh},
journal={Advances in neural information processing systems},
year={2025}
}
For questions and feedback, please open an issue on our GitHub repository.
12 commits
EffiBench-X is the first multi-language benchmark designed specifically to evaluate the efficiency of LLM-generated code across six programming languages: Python, C++, Java, JavaScript, Ruby, and Golang. The dataset comprises 623 competitive programming problems paired with human expert solutions as efficiency baselines.
EffiBench-X addresses critical limitations in existing code generation benchmarks by providing:
Multi-language evaluation across Python, C++, Java, JavaScript, Ruby, and Golang
Efficiency-focused metrics including execution time, memory peak, and memory integral
Human expert baselines for reliable efficiency comparison
Curated by: Yuhao Qing, Boyu Zhu, Mingzhe Du, Zhijiang Guo, Terry Yue Zhuo, Qianru Zhang, Jie M. Zhang, Heming Cui, Siu-Ming Yiu, Dong Huang, See-Kiong Ng, Luu Anh Tuan
Institutions: HKU, UCL, NTU, NUS, HKUST, Monash University, CSIRO's Data61, KCL
Language(s) (NLP): English
License: Apache License 2.0
The dataset contains 623 problems categorized into:
Key fields per record include:
id, title, title_slug, description, description_md, difficulty, tags, source, url, typetime_limit_nanos, memory_limit_bytesstarter_code: language-keyed starter snippetssolutions: language-keyed canonical solutions (e.g., for cpp, golang, java, javascript, python3, ruby)test_case_generator: executable code string that programmatically produces testsevaluator: executable code string to determine pass/fail given expected vs. program outputgenerated_tests: serialized tests produced by the generatortest_runners: language-keyed runner templates for executing solutionsAll problems are from competitive programming platforms.
Existing code generation benchmarks primarily focus on functional correctness with limited attention to efficiency, often restricted to Python. EffiBench-X addresses three critical limitations:
Problems are curated from competitive programming platforms. Each problem includes:
Please cite our paper if you use this dataset:
@article{qing2025effibench,
title={EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code},
author={Qing, Yuhao and Zhu, Boyu and Du, Mingzhe and Guo, Zhijiang and Zhuo, Terry Yue and Zhang, Qianru and Zhang, Jie M and Cui, Heming and Yiu, Siu-Ming and Huang, Dong and Ng, See-Kiong and Tuan, Luu Anh},
journal={Advances in neural information processing systems},
year={2025}
}
For questions and feedback, please open an issue on our GitHub repository.
12 commits