scripts/bench — workers=1, c=64, 3×20s runs per cell after 20s warmup (truffleruby 120s — those lanes plateau later); the median of the 3 runs is reported (the run-to-run spread is in the stability section below). Quiet machine throughout. The managed-heap cells run under a fixed heap budget so their RSS is comparable to the other cells' working sets rather than the runtime's default share of host RAM: the JVM cell (jruby) via -Xmx512m=-Xms512m, and the TruffleRuby cell (truffleruby) via --vm.Xmx — 512 MB for the emitted tree, 1 GB for stock Rails, which runs out of a 512 MB heap under TruffleRuby within a minute of load. Full hardware, toolchain versions, and the exact invocation are in the environment appendix below.
These numbers measure one specific Rails reference app — not arbitrary Rails workloads. See #16 for the fixture-fragility caveats.
spinel runs the same Roundhouse-emitted framework as the CRuby ruby cell, but compiled by Spinel behind its thread-per-connection server (a green thread per connection on the runtime's autodetected OS worker count) rather than CRuby + Puma — so the ruby → spinel gap is a runtime swap, not a framework or source change.
rails-jruby built but never came up: => Run `bin/rails server --help` for more startup options=> Booting Puma => Rails 8.0.5 application starting in production => Run `bin/rails server --help` for more startup options
rails-truffleruby built but never came upelixir failed to build: ** (CompileError) lib/view_helpers.ex: cannot compile module ActionView.ViewHelpers (errors have been logged)Compiling 42 files (.ex)
Generated plug app
==> cc_precompiler
Compiling 3 files (.ex)
Generated cc_precompiler app
==> exqlite
Compiling 12 files (.ex)
Generated exqlite app
==> app
===> Analyzing applications...
===> Compiling cowboy_telemetry
==> plug_cowboy
Compiling 5 files (.ex)
Generated plug_cowboy app
==> websock
Compiling 1 file (.ex)
Generated websock app
==> websock_adapter
Compiling 5 files (.ex)
Generated websock_adapter app
==> app
Compiling 35 files (.ex)
warning: variable "tokens" is unused (if the variable is not meant to be used, prefix it with an underscore)
│
1398 │ {tokens, out} = Enum.reduce(attrs, {tokens, out}, fn {k, v}, {tokens, out} ->
│ ~
│
└─ lib/view_helpers.ex:1398:8: ActionView.ViewHelpers.render_attrs/1
error: undefined variable "tokens"
│
1398 │ {tokens, out} = Enum.reduce(attrs, {tokens, out}, fn {k, v}, {tokens, out} ->
│ ^^^^^^
│
└─ lib/view_helpers.ex:1398:43: ActionView.ViewHelpers.render_attrs/1
== Compilation error in file lib/view_helpers.ex ==
** (CompileError) lib/view_helpers.ex: cannot compile module ActionView.ViewHelpers (errors have been logged)go failed to build: app/v2/view_helpers.go:1571:35: cannot range over v (variable of type interface{})| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `rewrite_path_arg` is never used
--> src/lower/view_to_library/helpers.rs:1364:15
|
1364 | pub(super) fn rewrite_path_arg(arg: &Expr, ctx: &ViewCtx) -> Expr {
| ^^^^^^^^^^^^^^^^
warning: function `pair_passed` is never used
--> src/source_gem_shake.rs:111:4
|
111 | fn pair_passed(calls: &[Call]) -> Vec<Call> {
| ^^^^^^^^^^^
warning: call to `.clone()` on a reference in this situation does nothing
--> src/ingest/railtie_middleware.rs:1042:26
|
1042 | let inner = inner.clone();
| ^^^^^^^^
|
= note: the type `ruby_prism::Node<'_>` does not implement `Clone`, so calling `clone` on `&ruby_prism::Node<'_>` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
help: remove this redundant call
|
1042 - let inner = inner.clone();
1042 + let inner = inner;
|
help: if you meant to clone `ruby_prism::Node<'_>`, implement `Clone` for it
--> /home/rubys/roundhouse/target/release/build/ruby-prism-89357d9d1ec38117/out/bindings.rs:206:1
|
206 + #[derive(Clone)]
207 | pub enum Node<'pr> {
|
roundhouse: warning[unsupported]: forgery_protection not supported (go): Rails checks every non-GET request for an authenticity token; this target's runtime issues no token and passes every request
roundhouse: /home/rubys/roundhouse/fixtures/real-blog/app/controllers/articles_controller.rb:32:9: warning[lower_residue]: `respond_to` arm `format.json` dropped (inline `render json: <expr>` needs an encoder this tree has none for) — this action answers every format with its html branch, so a request that negotiates `json` (including a route pinned with `:format => "json"`) gets HTML back
roundhouse: /home/rubys/roundhouse/fixtures/real-blog/app/controllers/articles_controller.rb:45:9: warning[lower_residue]: `respond_to` arm `format.json` dropped (inline `render json: <expr>` needs an encoder this tree has none for) — this action answers every format with its html branch, so a request that negotiates `json` (including a route pinned with `:format => "json"`) gets HTML back
roundhouse: emitted 74 files to /home/rubys/roundhouse/build/transpiled-blog-go (go)
# app/app/v2
app/v2/view_helpers.go:1571:35: cannot range over v (variable of type interface{})csharp failed to build: Time Elapsed 00:00:24.42/tmp/rh-cs-pass2/app/models/Article.cs(109,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(118,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(118,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(84,68): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(85,69): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(86,68): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(130,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(130,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(136,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(136,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(130,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(130,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(139,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(139,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(154,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(154,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(160,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(160,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(436,16): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(439,16): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(514,20): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(582,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(599,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(603,16): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(613,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(316,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(316,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(320,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Article.cs(320,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(337,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(337,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(339,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/models/Comment.cs(339,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/Flash.cs(222,20): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/Flash.cs(225,13): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
/tmp/rh-cs-pass2/app/runtime/ViewHelpers.cs(1171,29): error CS0019: Operator '&&' cannot be applied to operands of type 'object' and 'bool' [/tmp/rh-cs-pass2/roundhouse-app.csproj]
50 Warning(s)
1 Error(s)
Time Elapsed 00:00:24.42csharp-aot failed to build: /tmp/rh-cs-pass2/app/runtime/Cable.cs(141,23): warning IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications. [/tmp/rh-cs-pass2/roundhouse-app.csproj]/tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(439,16): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(109,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(109,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(118,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(118,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(78,29): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(130,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(130,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(139,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(139,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(93,29): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(514,20): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(84,68): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(85,69): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(86,68): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(130,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(130,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(136,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(136,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(582,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(599,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(603,16): warning CS8603: Possible null reference return. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ActionControllerBase.cs(613,9): warning CS8602: Dereference of a possibly null reference. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(154,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(154,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(160,69): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(160,33): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(316,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(316,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(320,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Article.cs(320,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(337,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(337,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(339,73): warning CS8605: Unboxing a possibly null value. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/models/Comment.cs(339,37): warning CS8601: Possible null reference assignment. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/ViewHelpers.cs(1171,29): error CS0019: Operator '&&' cannot be applied to operands of type 'object' and 'bool' [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/Cable.cs(101,23): warning IL2026: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/Cable.cs(101,23): warning IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/Cable.cs(141,23): warning IL2026: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved. [/tmp/rh-cs-pass2/roundhouse-app.csproj] /tmp/rh-cs-pass2/app/runtime/Cable.cs(141,23): warning IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications. [/tmp/rh-cs-pass2/roundhouse-app.csproj]
swift failed to build: [#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>377 | instance.commenter = (row.commenter as? String)
378 | instance.createdAtRaw = (row.createdAt as! String)
379 | instance.updatedAtRaw = (row.updatedAt as! String)
| `- warning: forced cast of 'String' to same type has no effect
380 | instance._noteHydrated()
381 | return instance
/tmp/rh-swift-pass2/Sources/App/app/models/Comment.swift:424:12: warning: result of call to 'stepPred' is unused [#no-usage]
422 | override class func _adapterCount() -> Int {
423 | let stmt = Db.prepare("SELECT COUNT(*) FROM comments")
424 | Db.stepPred(stmt)
| `- warning: result of call to 'stepPred' is unused [#no-usage]
425 | let result = Db.columnInt(stmt, 0)
426 | Db.finalize(stmt)
/tmp/rh-swift-pass2/Sources/App/app/models/CommentRow.swift:21:49: warning: forced cast of 'Int' to same type has no effect
19 | class func fromRaw(_ row: [String: Any?]) -> CommentRow {
20 | let instance = CommentRow()
21 | instance.id = ((row["id"] as? Int ?? 0) as! Int)
| `- warning: forced cast of 'Int' to same type has no effect
22 | instance.articleId = ((row["article_id"] as? Int ?? 0) as! Int)
23 | instance.body = (row["body"] as? String)
/tmp/rh-swift-pass2/Sources/App/app/models/CommentRow.swift:22:64: warning: forced cast of 'Int' to same type has no effect
20 | let instance = CommentRow()
21 | instance.id = ((row["id"] as? Int ?? 0) as! Int)
22 | instance.articleId = ((row["article_id"] as? Int ?? 0) as! Int)
| `- warning: forced cast of 'Int' to same type has no effect
23 | instance.body = (row["body"] as? String)
24 | instance.commenter = (row["commenter"] as? String)
/tmp/rh-swift-pass2/Sources/App/runtime/Server.swift:48:61: warning: reference to captured var 'form' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | let incomingFlash = readFlashCookie(request.headers[.cookie])
47 | let r = try await NIOThreadPool.singleton.runIfActive {
48 | dispatchScoped(method, path, query, form, incomingFlash, routes, controllers, layout)
| `- warning: reference to captured var 'form' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
49 | }
50 | var headers = HTTPFields()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>kotlin failed to build: BUILD FAILED in 1m 35s| ^^^^^^^^^^^
warning: call to `.clone()` on a reference in this situation does nothing
--> src/ingest/railtie_middleware.rs:1042:26
|
1042 | let inner = inner.clone();
| ^^^^^^^^
|
= note: the type `ruby_prism::Node<'_>` does not implement `Clone`, so calling `clone` on `&ruby_prism::Node<'_>` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
help: remove this redundant call
|
1042 - let inner = inner.clone();
1042 + let inner = inner;
|
help: if you meant to clone `ruby_prism::Node<'_>`, implement `Clone` for it
--> /home/rubys/roundhouse/target/debug/build/ruby-prism-d7b90c3a677ecf1c/out/bindings.rs:206:1
|
206 + #[derive(Clone)]
207 | pub enum Node<'pr> {
|
emitted 49 files to /tmp/rh-kt-pass2
e: file:///tmp/rh-kt-pass2/src/main/kotlin/ViewHelpers.kt:832:36 Argument type mismatch: actual type is 'MutableMap<String, Any?>?', but 'MutableMap<String, Any?>' was expected.
e: file:///tmp/rh-kt-pass2/src/main/kotlin/ViewHelpers.kt:1213:29 Condition type mismatch: inferred type is 'Any?' but 'Boolean' was expected.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin' (registered by plugin 'org.jetbrains.kotlin.jvm').
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.btapi.BuildToolsApiCompilationWork
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 35srust failed to build: error: could not compile `app` (lib) due to 2 previous errors; 328 warnings emittedwarning: unused variable: `notice`
--> src/views/layouts.rs:46:31
|
46 | pub fn mailer(body: &str, notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_notice`
warning: unused variable: `alert`
--> src/views/layouts.rs:46:55
|
46 | pub fn mailer(body: &str, notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert`
warning: unused variable: `notice`
--> src/views/layouts.rs:54:36
|
54 | pub fn mailer_text(body: &str, notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_notice`
warning: unused variable: `alert`
--> src/views/layouts.rs:54:60
|
54 | pub fn mailer_text(body: &str, notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert`
warning: unused variable: `notice`
--> src/views/pwa.rs:26:26
|
26 | pub fn manifest_json(notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_notice`
warning: unused variable: `alert`
--> src/views/pwa.rs:26:50
|
26 | pub fn manifest_json(notice: Option<String>, alert: Option<String>) -> String {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert`
Some errors have detailed explanations: E0308, E0599.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `app` (lib) due to 2 previous errors; 328 warnings emittedEvery chart and table below is drawn from the targets that were measured; a target that failed to build is absent, not slow. Where a lane reached the run and then produced no numbers its cells are shown as no data, not as zero — an unmeasured cell means wrk found nothing serving, or found a server answering with errors (a cell with any non-2xx response is not a measurement of the endpoint — an error page is cheap to serve), which is a different claim from a runtime that was measured and is slow. Such lanes are left out of the derived charts (multipliers, RSS ranking) for the same reason.
Each endpoint is its own chart. Bars are log-scaled; raw req/sec is shown at the right.
Same Ruby interpreter, same YJIT, same Puma — the only variable is whether the framework runtime is Rails or Roundhouse-emitted. The multiplier under each pair is the lift from the lowerer pipeline. Bars are log-scaled, so the multiplier, not bar height, is the ratio.
Each pair compares a cell with YJIT (ruby, rails) against its interpreter-only variant (ruby-int, rails-int). The bars show how far YJIT moves each.
Throughput normalized by memory footprint — req/sec divided by RSS in GB. This reorders the raw throughput charts above: targets with small working sets rise and high-RSS targets fall. Bars are log-scaled. How much the metric matters depends on the deployment shape — most on metered or serverless surfaces, least on bare metal with memory headroom.
Per-target lift going from /articles (HTML) to /articles.json (JSON). The asymmetry isn't JSON-escape vs HTML-escape — both paths concatenate and escape strings. What JSON skips is the layout chain (csrf_meta_tag, importmap, asset-manifest scan, content_for slots) and the per-row view helpers (link_to, button_to, dom_id, tag.*) that the HTML index template invokes for every record. The chart below shows the multiplier per target.
Max RSS observed across all endpoints, per target, sorted low to high. The field spans more than two orders of magnitude. The managed-heap cells (the JVM and .NET targets) run under a fixed heap budget rather than an organically-grown working set — see the note below the chart.
The JVM cells run under a fixed -Xmx512m heap (the TruffleRuby cells under --vm.Xmx: 512 MB for the emit, 1 GB for stock Rails), so the heap can't grab a host-dependent share of RAM; the rest is metaspace and code-cache, bounded by the app's class count rather than the box. Read the JVM bars as a pinned budget, not an organically-grown working set like the other cells.
Latencies are at c=64 concurrent connections; treat p50 as the median per-connection wait and p99 as the tail. Lanes are ordered by measured median p50 across endpoints, fastest first.
| target | /articles | /articles/1 | /articles/new | /articles.json | /articles/1.json | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| p50 | p99 | p50 | p99 | p50 | p99 | p50 | p99 | p50 | p99 | |
| crystal | 28.6 | 75.1 | 22.2 | 58.6 | 12.0 | 28.3 | 18.1 | 47.8 | 9.3 | 20.8 |
| typescript | 39.1 | 370.5 | 36.1 | 241.1 | 25.0 | 58.0 | 33.2 | 99.4 | 23.5 | 54.2 |
| truffleruby | 57.3 | 148.4 | 61.2 | 201.1 | 25.1 | 106.5 | 35.2 | 96.9 | 24.0 | 86.0 |
| jruby | 52.5 | 91.0 | 49.3 | 86.8 | 33.9 | 69.3 | 44.3 | 85.5 | 39.5 | 83.2 |
| spinel | 79.3 | 335.3 | 65.0 | 288.3 | 47.6 | 274.1 | 67.6 | 362.9 | 29.9 | 168.9 |
| python | 94.3 | 140.0 | 80.1 | 125.1 | 55.4 | 86.5 | 70.8 | 111.5 | 80.0 | 120.1 |
| ruby | 132.5 | 342.1 | 111.9 | 311.3 | 85.5 | 232.3 | 106.3 | 287.4 | 92.6 | 267.4 |
| ruby-int | 226.6 | 464.9 | 212.5 | 438.2 | 186.7 | 481.5 | 152.8 | 372.4 | 118.6 | 314.4 |
| rails | 860.1 | 1330.0 | 820.5 | 1330.0 | 560.3 | 942.3 | 434.2 | 791.2 | 303.7 | 655.4 |
| rails-int | 760.1 | 1210.0 | 774.5 | 1390.0 | 603.0 | 946.2 | 527.5 | 817.4 | 333.5 | 702.8 |
All values in milliseconds. Lower is better.
Each cell is timed 3 times and the charts above report the median run. This section reads per-run.json directly to show how far the individual runs strayed from it. Across all 50 cells the median run-to-run coefficient of variation in req/sec is 6.54% — the timed runs of a given cell agree to a fraction of a percent, so the reported medians aren't masking noise.
The 45 cells that vary by more than 3% are concentrated in the lowest-throughput cells, where a small absolute swing is a larger fraction of the rate; in 19 of them the first timed run is the slowest, consistent with residual warmup the fixed 20s warmup doesn't fully absorb:
| target | endpoint | run 1 | run 2 | run 3 | CV |
|---|---|---|---|---|---|
| jruby | /articles | 325 | 1,172 | 1,208 | 45.3% |
| ruby-int | /articles/new | 339 | 226 | 443 | 26.3% |
| rails | /articles.json | 145 | 232 | 137 | 25.2% |
| truffleruby | /articles | 576 | 1,046 | 1,016 | 24.4% |
| ruby | /articles/1.json | 631 | 564 | 947 | 23.4% |
| truffleruby | /articles/1 | 779 | 1,238 | 875 | 20.5% |
| typescript | /articles/new | 3,101 | 1,938 | 2,505 | 18.9% |
| ruby-int | /articles/1.json | 580 | 572 | 378 | 18.3% |
| spinel | /articles.json | 1,235 | 856 | 896 | 17.0% |
| ruby | /articles/new | 920 | 641 | 746 | 15.0% |
| rails-int | /articles/1.json | 183 | 155 | 217 | 13.7% |
| ruby | /articles.json | 445 | 570 | 614 | 13.2% |
| jruby | /articles/1.json | 1,847 | 1,526 | 1,366 | 12.6% |
| typescript | /articles.json | 1,956 | 1,490 | 1,940 | 12.0% |
| python | /articles/1.json | 924 | 697 | 802 | 11.5% |
| rails | /articles | 68 | 88 | 72 | 11.4% |
| ruby-int | /articles.json | 332 | 404 | 432 | 10.7% |
| truffleruby | /articles/1.json | 2,421 | 2,458 | 1,957 | 10.0% |
| ruby-int | /articles/1 | 302 | 278 | 238 | 9.7% |
| ruby | /articles | 439 | 361 | 452 | 9.6% |
| rails | /articles/1 | 71 | 75 | 86 | 7.9% |
| ruby-int | /articles | 275 | 261 | 310 | 7.3% |
| rails-int | /articles.json | 113 | 116 | 132 | 7.1% |
| crystal | /articles/new | 5,241 | 6,177 | 5,680 | 6.7% |
| ruby | /articles/1 | 509 | 597 | 549 | 6.5% |
| jruby | /articles/new | 1,802 | 1,668 | 1,931 | 6.0% |
| jruby | /articles.json | 1,371 | 1,559 | 1,391 | 5.8% |
| rails | /articles/new | 112 | 99 | 113 | 5.8% |
| spinel | /articles/new | 1,153 | 1,240 | 1,323 | 5.6% |
| truffleruby | /articles/new | 2,027 | 2,321 | 2,234 | 5.6% |
| rails-int | /articles | 78 | 82 | 89 | 5.4% |
| python | /articles | 722 | 640 | 659 | 5.2% |
| rails | /articles/1.json | 179 | 202 | 197 | 5.1% |
| crystal | /articles.json | 3,754 | 4,173 | 4,175 | 4.9% |
| rails-int | /articles/1 | 79 | 78 | 71 | 4.7% |
| python | /articles.json | 955 | 912 | 853 | 4.6% |
| crystal | /articles/1.json | 7,187 | 7,268 | 7,902 | 4.3% |
| python | /articles/new | 1,252 | 1,136 | 1,205 | 4.0% |
| spinel | /articles/1.json | 2,169 | 1,970 | 2,062 | 3.9% |
| rails-int | /articles/new | 100 | 109 | 100 | 3.9% |
| typescript | /articles/1 | 1,867 | 1,757 | 1,705 | 3.8% |
| crystal | /articles | 2,938 | 2,702 | 2,730 | 3.8% |
| typescript | /articles/1.json | 2,617 | 2,643 | 2,834 | 3.6% |
| jruby | /articles/1 | 1,251 | 1,214 | 1,320 | 3.5% |
| python | /articles/1 | 856 | 820 | 787 | 3.5% |
req/sec per timed run; CV = standard deviation ÷ mean.
| target | endpoint | req/sec | p50 (ms) | p99 (ms) | RSS (MB) | req/sec/GB |
|---|---|---|---|---|---|---|
| crystal | /articles | 2,730 | 28.55 | 75.09 | 22 | 123,350 |
| crystal | /articles/1 | 3,335 | 22.22 | 58.58 | 21 | 161,538 |
| crystal | /articles/new | 5,680 | 12.01 | 28.34 | 20 | 286,028 |
| crystal | /articles.json | 4,173 | 18.13 | 47.80 | 18 | 226,371 |
| crystal | /articles/1.json | 7,268 | 9.30 | 20.82 | 19 | 389,588 |
| spinel | /articles | 753 | 79.28 | 335.26 | 109 | 7,038 |
| spinel | /articles/1 | 913 | 65.02 | 288.34 | 113 | 8,242 |
| spinel | /articles/new | 1,240 | 47.64 | 274.11 | 112 | 11,337 |
| spinel | /articles.json | 896 | 67.63 | 362.89 | 109 | 8,360 |
| spinel | /articles/1.json | 2,062 | 29.92 | 168.90 | 107 | 19,638 |
| typescript | /articles | 1,616 | 39.12 | 370.48 | 304 | 5,433 |
| typescript | /articles/1 | 1,757 | 36.10 | 241.13 | 323 | 5,559 |
| typescript | /articles/new | 2,505 | 24.96 | 57.95 | 322 | 7,945 |
| typescript | /articles.json | 1,940 | 33.16 | 99.40 | 290 | 6,848 |
| typescript | /articles/1.json | 2,643 | 23.54 | 54.24 | 313 | 8,638 |
| python | /articles | 659 | 94.30 | 139.96 | 82 | 8,235 |
| python | /articles/1 | 820 | 80.10 | 125.08 | 82 | 10,233 |
| python | /articles/new | 1,205 | 55.42 | 86.54 | 82 | 15,027 |
| python | /articles.json | 912 | 70.75 | 111.53 | 82 | 11,381 |
| python | /articles/1.json | 802 | 79.98 | 120.11 | 82 | 10,004 |
| ruby | /articles | 439 | 132.49 | 342.10 | 160 | 2,800 |
| ruby | /articles/1 | 549 | 111.92 | 311.27 | 173 | 3,240 |
| ruby | /articles/new | 746 | 85.49 | 232.26 | 181 | 4,214 |
| ruby | /articles.json | 570 | 106.29 | 287.42 | 180 | 3,236 |
| ruby | /articles/1.json | 631 | 92.56 | 267.42 | 184 | 3,507 |
| ruby-int | /articles | 275 | 226.63 | 464.92 | 141 | 1,989 |
| ruby-int | /articles/1 | 278 | 212.51 | 438.23 | 152 | 1,869 |
| ruby-int | /articles/new | 339 | 186.74 | 481.48 | 159 | 2,185 |
| ruby-int | /articles.json | 404 | 152.76 | 372.35 | 158 | 2,615 |
| ruby-int | /articles/1.json | 572 | 118.56 | 314.45 | 165 | 3,544 |
| jruby | /articles | 1,172 | 52.54 | 91.01 | 894 | 1,341 |
| jruby | /articles/1 | 1,251 | 49.30 | 86.78 | 1,040 | 1,231 |
| jruby | /articles/new | 1,802 | 33.91 | 69.32 | 1,071 | 1,723 |
| jruby | /articles.json | 1,391 | 44.32 | 85.54 | 1,108 | 1,285 |
| jruby | /articles/1.json | 1,526 | 39.52 | 83.15 | 1,109 | 1,408 |
| truffleruby | /articles | 1,016 | 57.29 | 148.39 | 775 | 1,341 |
| truffleruby | /articles/1 | 875 | 61.22 | 201.08 | 800 | 1,119 |
| truffleruby | /articles/new | 2,234 | 25.14 | 106.48 | 809 | 2,827 |
| truffleruby | /articles.json | 1,659 | 35.15 | 96.93 | 814 | 2,086 |
| truffleruby | /articles/1.json | 2,421 | 23.99 | 86.00 | 815 | 3,043 |
| rails | /articles | 72 | 860.09 | 1330.00 | 355 | 210 |
| rails | /articles/1 | 75 | 820.50 | 1330.00 | 363 | 212 |
| rails | /articles/new | 112 | 560.31 | 942.34 | 367 | 314 |
| rails | /articles.json | 145 | 434.17 | 791.16 | 374 | 396 |
| rails | /articles/1.json | 197 | 303.71 | 655.37 | 384 | 524 |
| rails-int | /articles | 82 | 760.13 | 1210.00 | 325 | 258 |
| rails-int | /articles/1 | 78 | 774.52 | 1390.00 | 332 | 242 |
| rails-int | /articles/new | 100 | 603.00 | 946.22 | 338 | 304 |
| rails-int | /articles.json | 116 | 527.46 | 817.41 | 340 | 349 |
| rails-int | /articles/1.json | 183 | 333.52 | 702.83 | 346 | 542 |
| hostname | showcase.party |
|---|---|
| OS | Ubuntu 24.04.5 LTS |
| kernel | Linux showcase.party 6.8.0-147-generic #147-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 24 11:33:16 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| board | ASRock B450 Pro4 R2.0 |
| CPU | AMD Ryzen 5 3600 6-Core Processor |
| topology | 6 cores / 12 threads |
| clock | governor=performance, boost disabled, 3600 MHz max |
| memory | 64,228 MB |
| cargo | cargo 1.98.1 (797e8a9bc 2026-08-05) |
|---|---|
| crystal | Crystal 1.20.2 [2482c62c1] (2026-05-15) |
| curl | curl 8.5.0 (x86_64-pc-linux-gnu) libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.10 |
| dotnet | 10.0.301 |
| go | go version go1.26.4 linux/amd64 |
| jruby | jruby 10.1.1.0 (4.0.0) 2026-07-22 aaa95d57e1 OpenJDK 64-Bit Server VM 25.0.3+9-LTS on 25.0.3+9-LTS +indy +jit [x86_64-linux] |
| mise | 2026.5.15 linux-x64 (2026-05-23) |
| node | v26.3.0 |
| python3 | Python 3.14.6 |
| redis-server | Redis server v=7.0.15 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=d064f9f48c901a92 |
| ruby | ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +PRISM [x86_64-linux] |
| rustc | rustc 1.98.1 (48a229cea 2026-09-01) |
| shards | Shards 0.20.0 [b2b98ca] (2025-12-19) |
| spinel | spinel 2026.11.29+1337 (13ec4862e) [gcc 13.3.0 (cc)] |
| sqlite3 | 3.45.1 2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1 (64-bit) |
| truffleruby | truffleruby 40.0.0 (2026-09-17), like ruby 4.0.2, Oracle GraalVM Native [x86_64-linux] |
| uv | uv 0.11.22 (x86_64-unknown-linux-musl) |
| wrk | wrk debian/4.1.0-4build2 [epoll] Copyright (C) 2012 Will Glozer |
| command | scripts/bench --port 19000 rails rails-int rails-jruby rails-truffleruby ruby ruby-int jruby truffleruby python spinel typescript elixir go csharp csharp-aot swift kotlin crystal rust |
|---|---|
| workers | 1 |
| concurrency | 64 |
| runs | 3 × 20s after 20s warmup |
| wrk threads | 2 |
| endpoints | /articles /articles/1 /articles/new /articles.json /articles/1.json |
| targets | rails, rails-int, rails-jruby, rails-truffleruby, ruby, ruby-int, jruby, truffleruby, python, spinel, typescript, elixir, go, csharp, csharp-aot, swift, kotlin, crystal, rust |
| not measured | rails-jruby, rails-truffleruby, elixir, go, csharp, csharp-aot, swift, kotlin, rust (requested but produced no measurements) |
| commit | e7223d435272e473d47a0338c86ea52653327358 |
|---|---|
| branch | main |
| subject | Merge pull request #2431 from roundhouse-rb/view-url-request-host |
| load average | 41.13 / 43.4 / 46.29 |
|---|---|
| uptime | 06:13:38 up 47 days, 17:58, 0 user, load average: 41.13, 43.40, 46.29 |