Skip to content
Proyek

Tentang

A series of obstacle courses as a way to compare how different languages and frameworks handle structured concurrency

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Easy Racer

A series of obstacle courses as a way to compare how different languages and frameworks handle structured concurrency, including:

  • loser cancellation
  • resource management
  • efficient thread utilization (i.e. reactive, non-blocking)
  • explicit timeouts
  • errors causing a race loss

The 15 scenarios, and the rules every client follows (how it's run, how its scenarios are structured, what counts as a correct implementation, and how it's verified), are in RULES.md, along with the scenario server and how a client is verified.

agent_benchmark measures how a coding agent does at writing each client from scratch, in two arms per client: basic, with only the client's .template/AGENTS.md, and pro, which adds the client's .template/.mcp.json and skills. Neither arm can search or fetch from the web. The "Agent Experience" column summarizes a run of at least 5 samples per arm.

Clients

Source Author(s) Agent Experience
C#
tests
Jason De Lorme
Clojure + core.async
tests
Juan Antonio Breña Moral
Elixir + Task (async)
tests
Juan Antonio Breña Moral
Elm
tests
Jack Leow
F# + Reactive Extensions
tests
Jack Leow
Go
tests
Jack Leow basic: 5/5 passed (min–max)
time 3m15s (2m18s–3m27s)
tokens in 159.1k (87.7k–200.6k)
tokens out 12.5k (11.6k–15.0k)
turns 7 (4–8)
complexity (judge) 6
complexity (scc) 224 (213–232)
LOC 813 (723–908)
Go conc
tests
Jack Leow
Haskell + async
tests
Benjamin Maurer
Java
tests
James Ward
Java + CompletableFuture
tests
Juan Antonio Breña Moral
Java + diesel
tests
Antonio Muñoz
Java + Jox
tests
James Ward
Java + Loom
tests
James Ward basic: 5/5 passed (min–max)
time 3m52s (3m38s–3m59s)
tokens in 142.9k (133.9k–200.6k)
tokens out 11.7k (11.2k–12.7k)
turns 7 (7–8)
complexity (judge) 5 (4–5)
complexity (scc) 80 (72–94)
LOC 343 (321–348)
Java + Reactor
tests
James Ward
Java + RxJava
tests
Juan Antonio Breña Moral
JavaScript
tests
James Ward basic: 5/5 passed (min–max)
time 2m56s (2m36s–2m56s)
tokens in 111.2k (85.0k–113.4k)
tokens out 11.0k (9.2k–12.6k)
turns 6 (5–6)
complexity (judge) 6 (5–6)
complexity (scc) 51 (34–64)
LOC 506 (451–558)
JRuby + concurrent
tests
Juan Antonio Breña Moral
Kotlin + Arrow
tests
James Ward
Kotlin + Coroutines
tests
Jack Leow
Kotlin + Flow
tests
Jack Leow
Kotlin + Splitties
tests
James Ward
OCaml + Eio + Cohttp
tests
Puneeth Chaganti
OCaml + Lwt + Cohttp
tests
Puneeth Chaganti
Python + AIOHTTP
tests
James Ward
Python + AIOHTTP + TaskGroup
tests
James Ward
Bruce Eckel
Python + HTTPX + asyncio
tests
James Ward
Python + HTTPX + Trio
tests
James Ward
Python + RxPy
tests
Jack Leow
Rust + futures
tests
James Ward
Rust + Tokio
tests
James Ward
Rust Developer Retreat Participants
basic: 5/5 passed (min–max)
time 3m26s (3m05s–6m25s)
tokens in 187.6k (145.1k–324.4k)
tokens out 15.0k (13.2k–19.9k)
turns 9 (6–12)
complexity (judge) 6 (5–7)
complexity (scc) 123 (89–140)
LOC 598 (552–658)
Scala + Cats Effects 3
tests
Paul Snively
Kamil Kloch
Scala 3 + Gears
tests
Jack Leow
Scala 3 + Kyo
tests
James Ward
Scala 3 + Ox
tests
Adam Warski
Scala 3 + Pekko
tests
Jack Leow
Scala 3 + Soundness
tests
Jack Leow
Scala 3 + ZIO
tests
James Ward
Swift + async/await
tests
Jack Leow
Swift + Combine
tests
Jack Leow
Swift + Grand Central Dispatch
tests
Jack Leow
TypeScript + Effect
tests
James Ward
Michael Arnaldi
Sebastian Lorenz

In the Agent Experience column, each measure is the median over an arm's passing samples, followed by the range (lowest–highest) when the samples differ. Time is the agent's wall time from an empty directory to a client that passes verification, including dependency downloads and builds. Tokens and turns are the agent's model usage. LOC is lines of code in the client's language, counted by scc.

Complexity is a 1 to 10 score from an LLM judge (Claude) that reads the agent's finished client and rates how hard it is to read, understand and maintain. It weighs the amount of code, the number of concepts and moving parts, control-flow and concurrency complexity, and boilerplate, relative to the task, on this scale:

  • 1: trivial; minimal code with obvious structure
  • 3: simple; concise and easy to follow
  • 5: moderate; some intricate concurrency or boilerplate
  • 7: complex; many moving parts, hard to follow in places
  • 9: very complex; convoluted or heavily boilerplated

Lower is simpler. Scores are comparable across clients because every client implements the same 15 scenarios, but the judge's scores vary by about a point from one sample to the next, so small differences don't mean much.

Complexity (scc) is the cyclomatic complexity estimate from scc, summed over the client's code: roughly, the number of branches and loops (if, for, match/switch cases, &&, ...). It's a count, not a judgment, so it grows with the amount of code and depends on the language's syntax: compare it between clients in the same language rather than across languages.

Jelajahi proyek terkait

Memuat…