Timings below are still shown, and are still real measurements of what the code did — but what the code did was not what Rails does, so they do not measure the same work and must not be compared. This banner is generated from the run's own data and disappears by itself once every lane renders what Rails renders on every route IN SCOPE, and every timed visit returns 200. Routes deferred out of scope are listed below with the reason; they are excluded from the timed sequence in every lane, including Rails, so the lanes still measure the same work.
| route | why | closes with | since |
|---|---|---|---|
/hottest | inline `render json:` is not lowered for strict targets, so the emit answers this route with its html arm | the render-json monomorphizer: src/lower/as_json_shape.rs and as_json_writer.rs are committed; remaining is type inference for Computed pair values, nested-record and Array[String] encoding, the datetime offset format, and widening FormatBreadth | 2026-08-03 |
/u/:username | Markdowner.to_html is a raising facade -- the AOT tree ships no CommonMark renderer | a Commonmarker/Markly facade over an iterative Node#walk plus the DOM surgery Markdowner does (h1-h6 to strong, images to links, rel=ugc, @mention linkifier); scripts/markly-conformance already carries vectors generated from the real gem | 2026-08-03 |
These are counted as failures in every number on this page — the parity badge above still reads them as not rendering what Rails renders. Listing them here separates a capability we have not built from a difference nobody has explained; both are failures, and only one is a surprise.
bench/lobsters/frozen-sequence.json) so every run — and the Rails baseline — walks the identical path. Both stacks serve from an in-memory SQLite seeded at boot (file:lobsters_bench?mode=memory&cache=shared), the shape the ruby-bench lobsters benchmark runs. The per-route table further down replays each distinct route once, before warmup, to verify status, bytes and content — it publishes no latency; each lane's pre-warmup single shot stays in its summary JSON as a diagnostic.
The runtime × JIT matrix section re-runs the same frozen sequence once per interpreter × JIT lane — in-process, in-memory, single-threaded — so its rows differ only in the runtime under test.
Every lane runs ANALYZE once after seeding its in-memory copy (a departure from stock ruby-bench, whose fixture DB carries no sqlite_stat1): without planner statistics SQLite misplans the hottest-stories SELECT under /rss, /hottest, and /recent — a full-table walk plus sort instead of reading hotness_idx to the LIMIT, ~100× the query cost — and both stacks pay that same planner accident. Statistics restore the plan a production database would have; both lanes get identical stats, so the comparison is unchanged in kind and fairer in degree.
This measures one specific reference app (the ruby-bench lobsters fixture), not arbitrary Rails workloads. The Rails baseline runs the real Rails lobsters over the same sequence; the roundhouse cell serves the same routes from the Roundhouse-emitted framework.
4 lanes, three of them the claim. Rails YJIT is the baseline; Roundhouse YJIT is the like-for-like comparison against it — same runtime, same JIT, so the only variable is the code; the AOT lane did not run. The 2 no-JIT rows size the JIT's contribution and are not the headline.
3.63× faster than Rails — 126.0 ms/iter (avg) vs Rails' 457.4, both stacks CRuby with YJIT. The full field:
Every lane replays the same frozen sequence in-process, in-memory, single-threaded — no HTTP server, no load generator — so the only variable across rows is the interpreter × JIT under test (the ruby-bench lobsters-for-YJIT shape). Lower is better; whiskers span each lane's min–max.
| stack | JIT | avg ms/iter | min–max | CV | drift | iters | vs Rails |
|---|---|---|---|---|---|---|---|
| Roundhouse | YJIT | 125.96 | 113.6–131.8 | 4.7% | -1.6% | 64 | 3.63× |
| Roundhouse | no JIT | 168.28 | 157.1–170.9 | 1.5% | +0.1% | 44 | 4.52× |
| Rails | YJIT | 457.37 | 451.0–479.0 | 1.6% | -1.6% | 20 | 1.00× |
| Rails | no JIT | 759.93 | 741.3–788.0 | 1.4% | +2.1% | 20 | 1.00× |
| Roundhouse | AOT | NO DATA — failed at replay: lobsters-spinel-replay: build: spin build failed after 123.1s | |||||
Every lane queried SQLite 3.50.3 at runtime.
| lane | code region | iseqs compiled | invalidations | code GCs | compile time |
|---|---|---|---|---|---|
| Roundhouse YJIT | 2,694 KiB / 4,028 KiB | +3 | 0 | 0 | +2.6 ms |
Deltas across the timed iterations only — warmup is excluded, so a zero row means YJIT had finished its work before the clock started. Non-zero iseqs compiled means new code was still being generated while being measured; invalidations means compiled code was being thrown away and redone; a non-zero code GCs means the code region filled and YJIT reclaimed it, after which previously-compiled paths must be compiled again.
“vs Rails” is a speed ratio — Rails' ms/iter ÷ this row's, at the same JIT level — so 3× means three times faster. Memory is a separate section below. CV = per-lane standard deviation ÷ mean across the timed iterations.
Each column is one timed iteration, scaled within a tight band around the lane's spread; the dashed line is the median.
Lanes measured 2026-08-21T07:00:44Z · host showcase.party — one process per lane, JIT pinned per lane.
Where the overall 3.63× win comes from — each endpoint's median latency over every timed visit of the frozen sequence, Rails vs roundhouse. Bars are log-scaled; the ratio at the right is Rails ÷ roundhouse (green = roundhouse faster).
A diagnostic breakdown, not a re-derivation: per-endpoint medians don't sum to the sequence median (GC and ordering don't decompose linearly), and the sub-millisecond rows sit near clock resolution — trust the ranking, not the third decimal.
| endpoint | rails | rails no-JIT | roundhouse | roundhouse no-JIT | ratio | visits/iter |
|---|---|---|---|---|---|---|
/threads | 12.71 | 22.48 | 3.05 | 5.00 | 4.17× | 3 |
/newest | 12.70 | 22.99 | 2.90 | 4.58 | 4.38× | 5 |
/threads/:username | 9.97 own 8.48 | 17.16 | 2.57 own 2.15 floor 1.91 | 4.12 | 3.89× | 2 |
/rss | 9.55 | 14.30 | 4.60 | 5.94 | 2.08× | 4 |
/comments | 7.63 | 13.60 | 2.47 | 3.63 | 3.09× | 4 |
/s/:story_id | 5.60 | 9.91 | 1.02 | 1.68 | 5.50× | 15 |
/top?length=1w | 3.98 | 5.45 | 2.38 | 2.49 | 1.67× | 2 |
/top?length=1d | 3.95 | 5.37 | 2.34 | 2.44 | 1.69× | 4 |
/top?length=1y | 3.78 | 5.23 | 2.16 | 2.27 | 1.75× | 2 |
/saved | 3.37 | 6.04 | 0.36 | 0.60 | 9.49× | 5 |
/settings | 2.89 | 4.83 | 0.20 | 0.33 | 14.58× | 3 |
/recent | 2.60 | 4.51 | 3.44 | 3.56 | 0.76× | 2 |
/u | 2.17 | 3.08 | 0.18 | 0.27 | 12.11× | 15 |
/replies/comments | 1.89 | 2.80 | 0.17 | 0.27 | 10.97× | 3 |
/active | 1.87 | 3.30 | 0.20 | 0.32 | 9.49× | 6 |
/replies/unread | 1.87 | 2.94 | 0.17 | 0.27 | 10.79× | 7 |
/upvoted/comments | 1.86 | 3.16 | 0.22 | 0.33 | 8.59× | 3 |
/upvoted/stories | 1.84 | 3.16 | 0.18 | 0.30 | 10.31× | 6 |
/replies/stories | 1.83 | 2.77 | 0.17 | 0.27 | 10.95× | 2 |
/hidden | 1.81 | 3.26 | 0.18 | 0.30 | 10.02× | 4 |
/replies | 1.75 | 2.68 | 0.17 | 0.28 | 10.15× | 3 |
/comments/:comment_id/reply | 1.70 | 2.82 | 0.24 | 0.38 | 7.08× | 5 |
/about | 1.10 | 1.88 | 0.15 | 0.25 | 7.31× | 1 |
All lane columns are median ms per visit; ratio = rails ÷ roundhouse (the +YJIT pair). A route marked cached serves its timed visits from a cache in the app itself (lobsters keeps some whole pages for 24h), in every lane — those medians price a cache hit, not the render. An own figure appears where a route's median runs more than 10% above its own work (p25 of its visits) — the gap is collection triggered during that visit but caused by the heap the whole sequence built, so it belongs to the lane rather than to the route. It is largest on the cheapest routes, which is where the median is least trustworthy as a per-route cost. A floor figure appears below that where p25 is itself more than 10% above the fastest visit recorded: p25 only removes collection cost when fewer than a quarter of a route's visits collect, and where more than a quarter do, p25 is still pricing marks. The floor is one sample and therefore noisy downward — read it as a bound, not a measurement.
Peak resident memory of each lane's replay process — lower is better. Because the lanes replay in-process, each one measures itself (VmHWM from /proc/self/status), so this is the whole stack: interpreter, framework, the in-memory fixture DB, and whatever the timed run retains on top.
The bar splits at the point the sequence starts. The solid segment is the baseline — everything loaded and seeded, before a single visit. The translucent segment is growth across the timed run. The two say different things: baseline is what the stack costs to stand up, growth is what serving retains.
| stack | JIT | baseline | peak | growth | vs Rails (memory) |
|---|---|---|---|---|---|
| Roundhouse | no JIT | 94 MB | 109 MB | +15 MB | 2.82× |
| Roundhouse | YJIT | 94 MB | 131 MB | +37 MB | 2.61× |
| Rails | no JIT | 175 MB | 306 MB | +131 MB | 1.00× |
| Rails | YJIT | 183 MB | 342 MB | +159 MB | 1.00× |
“vs Rails (memory)” is peak RSS ÷ peak RSS at the same JIT level — not the speed ratio in the matrix table above; the two differ. Baseline is sampled after the in-memory fixture DB is seeded, and it is not a common floor across lanes — each stack loads its own framework, so subtracting one lane's baseline from another's peak is meaningless.
What the numbers above are numbers of: every distinct route the benchmark exercises returns 200 on the CRuby emit target — the timing sections measure a complete application, not a working subset. A failing cell here would invalidate that lane's rows above.
Content was not compared for this run — no Rails lane ran, so there was no oracle to compare against. These cells attest that each route answered, not that it answered correctly.
| route | status | bytes |
|---|---|---|
/u | 200 | 173,521 |
/active | 200 | 2,452 |
/newest | 200 | 61,250 |
/recent | 200 | 2,679 |
/hottest declared gap | 200 | 16,369 |
/rss | 200 | 16,362 |
/privacy | 200 | 2,365 |
/about | 200 | 2,238 |
/settings | 200 | 15,167 |
/top?length=1d | 200 | 2,581 |
/top?length=1w | 200 | 2,584 |
/top?length=1y | 200 | 2,584 |
/hidden | 200 | 2,507 |
/saved | 200 | 5,048 |
/upvoted/stories | 200 | 2,680 |
/comments | 200 | 35,716 |
/upvoted/comments | 200 | 2,730 |
/threads | 200 | 57,907 |
/comments/6srqij/reply | 200 | 2,603 |
/threads/michell_wiegand | 200 | 57,916 |
/u/michell_wiegand declared gap | 200 | 4,209 |
/replies | 200 | 2,673 |
/replies/comments | 200 | 2,669 |
/replies/stories | 200 | 2,676 |
/replies/unread | 200 | 2,713 |
/s/enr7ye | 200 | 7,390 |
This table verifies parity — what each route answered and how much of it — not speed; the timing sections above are the performance numbers.
| command | scripts/bench-lobsters rails rails-int ruby ruby-int spinel --time 20 --src /home/rubys/ruby-bench/benchmarks/lobsters |
|---|---|
| source | /home/rubys/ruby-bench/benchmarks/lobsters |
| commit | 85ce611a88ea07302004f2d6cf55a0da7b002edb |
| fixture commit | 09b76c8b0f94c8182080cdae01e95151f0e22dd9 |
| captured | 2026-08-21T07:00:43Z |
| database | file:lobsters_bench?mode=memory&cache=shared |
| story / comment | enr7ye / 6srqij |
| roundhouse ruby | ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +PRISM [x86_64-linux] |
|---|---|
| rails ruby | ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +PRISM [x86_64-linux] |
| rails | 8.1.1 |
| spinel (AOT) | spinel e4cce5b5f1d7 [cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0] |
|---|---|
| C compiler | cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 |
| host | showcase.party |
|---|---|
| cpu | AMD Ryzen 5 3600 6-Core Processor |
| cores | 12 |
| kernel | Linux 6.8.0-137-generic |
| visits/iter | 106 |
|---|---|
| warmup | 15 |
| roundhouse iters | 64 |
| rails iters | 20 |