Commit f64d369c83e4 · Full test output · GitHub Actions run
penlight
Erlang and Node.js comparison of the same test selection.
Results
| Backend | Passed | Failed | Coverage | Time | Run |
|---|---|---|---|---|---|
| Erlang / OTP | 9 | 0 | 93.2% (55/59) | 5 ms | Passed |
| Node.js / V8 | 9 | 0 | 100.0% (123/123) | 427 ms | Passed |
Compare 9 tests → · 0 different outcomes
Times are informational: Node includes isolated process startup; timing differences do not fail the comparison.
Coverage by module
OTP and V8 instrument different executable lines. Percentages use each backend’s own denominator. — means not instrumented; 0 means instrumented but not executed. Different counts are not automatically a behavioural difference.
| Module | Erlang | Node.js | Line differences |
|---|---|---|---|
src/penlight.gleam | 0.0% (0/1) | 100.0% (0/0) | 0 coverage / 1 instrumentation |
src/penlight/should.gleam | 94.8% (55/58) | 100.0% (123/123) | 0 coverage / 73 instrumentation |