# PerfArena: Ranking LLMs by Code Performance

PerfArena：コード性能でLLMを順位付けする

Rua, Rui, Mersha, Hailemariam, Fernandes, Joao Paulo, Ali, Karim · arXiv · 2026年11月13日

- **課題** 正解のコードだけを見る評価では、LLMが生成したコードが実際にどれだけ効率的かはわかりません。
- **手法** セルごとに正解を検証したうえで、遅延時間・ピークメモリ・エネルギーを同じプロトコルで測定し、Bradley-Terryモデルで順位を付けます。
- **結果** gpt-6-astraは2つの競技のどの指標でも有意に劣りませんでした。他のLLMの遅延時間は、LeetCodeCompでは1.1–1.6倍、CLBGCompでは1.2–3.6倍でした。

## 正答率だけでは見えないコードの効率

LLMが書くコードの量が増え、正しいかどうかだけでなく、そのコードが時間・メモリ・エネルギーをどれだけ使うかも実用上重要になってきました。しかし既存のコード生成ベンチマークの多くは正誤のみを評価しており、性能重視のベンチマークは言語の数が少なく、エネルギーはほとんど測定していません。本論文は、正解コードの遅延時間、ピークメモリ、エネルギー消費を同じプロトコルで測定してLLMを比較するPERFARENAを提案しています。

## セル単位の比較と測定の流れ

PERFARENAでは、1つの問題と1つの言語からなるセルの中でのみ解法を比較します。まず正解オラクルで検証し、その後にのみ性能オラクルが遅延時間、ピークメモリ、エネルギー消費を測定するよう、2段階に分けました。測定は正解と認められたプログラムに限って行われ、見かけ上の効率を防ぐために、正解検証は測定より先に行われます。

## LeetCodeCompで測定を軽くする

LeetCodeCompは、遅延時間の分布において中央値、10パーセンタイル、95パーセンタイルの差が十分にある問題を選んで構成しました。測定の負荷を下げるため、テストケースを振る舞いの指紋でクラスタリングし、重みを持つ少数の代表ケースにまとめました。各ケースの重みは、元のケースに最も近い代表ケースに割り当てられた割合で決まり、問題ごとに重みの合計は1になります。

## 測定手順と順位の算出

性能測定では、ウォームアップの後に測定区間で呼び出し回数を数え、エネルギーはRAPLまたはCodeCarbonの読み取り値から得ます。LLMの順位は、セルごとの対戦をBradley-Terryモデルに当てはめて勝率にして求めます。測定誤差の範囲内の差は引き分けとして扱い、失敗したセルでは対戦を作りません。

## gpt-6-astraの主な結果

2つの競技のいずれでも、gpt-6-astraは遅延時間、エネルギー消費、ピークメモリのどの指標でも、他のLLMに有意に劣りませんでした。LeetCodeCompでは、他のLLMの正解コードの遅延時間は1.1–1.6倍でした。CLBGCompでは1.2–3.6倍でした。この数値は、本論文の2つの競技と13のLLM条件で得られたものです。

## 正答率と効率の関係

LeetCodeCompでは12のLLMが90%を超えるpass@1を示し、gpt-6-astraは99.7%でした。CLBGCompではpass@1が31.4%から100%まで幅広く分布しました。それでも、正答率が高いからといって遅延時間が短いとは限りませんでした。

## 基準集合と学習データの限界

基準集合は評価対象のLLMが生成した解法だけで構成されているため、比率1.00は評価したLLMの中で最良であることを意味します。問題とプログラムが公開されているため学習データに含まれている可能性が高く、その場合、記憶された解法の再生産によって結果が過大評価されることがあります。測定は1つのホストと1つのエネルギーツールのプロファイルで行われました。

## 論文情報

- **著者**: Rua, Rui, Mersha, Hailemariam, Fernandes, Joao Paulo, Ali, Karim
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月13日
- **登録日**: 2026年11月16日
- **更新日**: 2026年11月13日
- **バージョン**: v1
- **arXiv**: 2611.18030
- **カテゴリ**: cs.PF · cs.CL · cs.SE
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.18030v1) · [PDF ↗](https://arxiv.org/pdf/2611.18030v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Industry now relies on LLMs to write a large share of production code. Although that code is mostly, but not always, correct, correctness alone does not determine whether it is fit for repeated and extensive use, which depends on what the code costs in time, memory and energy. Most code-generation benchmarks nonetheless evaluate correctness in isolation, and most performance-oriented benchmarks cover few languages and rarely measure energy consumption. To address this gap, we present PERFARENA, an open-source, reproducible arena that ranks LLMs by the performance of their generated code across multiple languages and competitions. PERFARENA executes the solutions of each LLM on a Unix-like host and reports correctness together with latency, peak memory, and energy consumption. Correctness oracles, performance oracles, profilers, and code-generation workflows are pluggable in PERFARENA, enabling the integration of new judging backends and measurement tools without changing the pipeline. We evaluate PERFARENA on two competitions: CLBGComp, 10 compute-intensive benchmarks from the Computer Language Benchmarks Game, and LeetCodeComp, 99 LeetCode problems whose accepted solutions differ measurably in latency. Currently, PERFARENA holds 9,455 correct and measured solutions from 13 state-of-the-art LLMs across 7 programming languages. Across both competitions, got-6-astra is the only LLM that no other LLM beats significantly in latency, energy consumption, or peak memory, solving 99.7% of LeetCodeComp and 100% of CLBGComp. All PERFARENA leaderboards and measured solutions are publicly available, providing a continuously updated reference that helps developers choose an LLM per language and metric, instead of relying only on correctness rates or pricing.

## この論文を引用

Rua, Rui, Mersha, Hailemariam, Fernandes, Joao Paulo, Ali, Karim (2026). PerfArena: Ranking LLMs by Code Performance. arXiv:2611.18030v1. https://arxiv.org/abs/2611.18030v1

**BibTeX**

```
@misc{rui2026perfarena,
  title = {{PerfArena: Ranking LLMs by Code Performance}},
  author = {Rua, Rui and Mersha, Hailemariam and Fernandes, Joao Paulo and Ali, Karim},
  year = {2026},
  eprint = {2611.18030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18030v1}
}
```

## この論文の用語

- [Principal Component Analysis](https://refivu.com/ja/terms/5e8334d817e7-principal-component-analysis)
- [Bradley-Terryモデル](https://refivu.com/ja/terms/ab48178273fe-bradley-terry)
- [Holm’s correction](https://refivu.com/ja/terms/0add48e66aeb-holm-s-correction)
- [Bradley-Terry model](https://refivu.com/ja/terms/18d616a35daa-bradley-terry-model)
- [reference set](https://refivu.com/ja/terms/1d64fd89483d-reference-set)

## ほかの論文解説

- [Fuse-All MoE Inference Kernel with Load Balancing on TPUs](https://refivu.com/ja/papers/9cb74dcd-e120-4e43-b2b0-37dad7ccf356-fuse-all-moe-inference-kernel-with-load-balancing.md)
- [LECAT: Measuring LLM Category Learning from Pretraining Data](https://refivu.com/ja/papers/a9acf13c-34dc-44f5-b84d-62a081413434-lecat-measuring-llm-category-learning-from-pretraining-data.md)
- [Right Token, Right Time: From Per-Token Gating to Trajectory-Aware Activation Steering](https://refivu.com/ja/papers/0f4151bb-65f7-42ff-9693-d1cea802586a-right-token-right-time-from-per-token-gating.md)
- [Can Large Language Models Optimize Pretrained Neural Network Weights? A Multi-Phase Empirical Evaluation of Gradient-Free Editing in YOLO26 Object Detection](https://refivu.com/ja/papers/a5e2b850-0152-4239-a9a3-24dda4597495-can-large-language-models-optimize-pretrained-neural-network.md)
- [Knowledge After Collapse: Context and Wording Shape Factual Accessibility in Language Models](https://refivu.com/ja/papers/3dcab022-d0ef-487d-8376-f1b8b4b14bc9-knowledge-after-collapse-context-and-wording-shape-factual.md)
- [GraphScent: Calibrating Directional Relevance Signals for Bounded-Context Code Localization](https://refivu.com/ja/papers/f485b130-6849-48e3-832f-e8d259afa756-graphscent-calibrating-directional-relevance-signals-for.md)
- [An In-Silico Audit of Topographic Organization in a Multimodal Brain-Response Model](https://refivu.com/ja/papers/010e3631-178b-4251-a678-eb912c9d749a-an-in-silico-audit-of-topographic-organization-in.md)
- [From Pen-and-Paper to Machine-Checked Proofs: Lean for System Identification](https://refivu.com/ja/papers/96a42630-24d1-4b73-800f-c3eb329e5262-from-pen-and-paper-to-machine-checked-proofs.md)
- [Reasoning Models Confabulate to Defend Injected Beliefs About Their Own Requests](https://refivu.com/ja/papers/ce562014-a4fd-4785-a292-99b457ab2649-reasoning-models-confabulate-to-defend-injected-beliefs.md)
- [FEND: Far-End Detection in Outbound Voice AI Calls](https://refivu.com/ja/papers/8f9be405-cbfb-49aa-8c22-204722d38a37-fend-far-end-detection-in-outbound-voice-ai.md)
- [Who Counts as Exposed? Measurement Choices in an Open, Re-estimable Index of Occupational AI Exposure](https://refivu.com/ja/papers/bc2cfc93-d47d-40b5-b11c-31874b253264-who-counts-as-exposed-measurement-choices-in-an.md)
- [Do Machines Learn Deviance From Their Peers? A Randomized Test of Differential Association With AI Agents](https://refivu.com/ja/papers/58c15c7f-5939-4116-a0a3-1907381f3dd8-do-machines-learn-deviance-from-their-peers-a.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/c040cebb-8cde-4fb3-b12d-79a3fe746bfa-perfarena-ranking-llms-by-code-performance)
