{ "Slug": "rust", "Language": "Rust", "Status": "LIVE", "URL": "https://todo-rust-2.bfj.oncarlos.com", "Version": "6a50716", "Stack": "", "Source": "https://amadan.net/carlos/todomvc-bakeoff?ref=main\u0026path=apps/rust", "BehaviourJSOn": { "Passed": 35, "Failed": 0, "Skipped": 0 }, "BehaviourJSOff": { "Passed": 32, "Failed": 0, "Skipped": 3 }, "TTFBEmpty": { "N": 30, "P50": 93.22, "P95": 100.757, "P99": 102.341, "Min": 85.547, "Max": 102.341 }, "TTFB50": { "N": 30, "P50": 95.758, "P95": 101.193, "P99": 102.563, "Min": 79.697, "Max": 102.563 }, "Wake": [ 1244.926, 1384.644, 1221.667 ], "Load": [ { "Scenario": "read", "Concurrency": 1, "RPS": 27.896439658306086, "P50Ms": 35.808963999999996, "P95Ms": 41.530607999999994, "P99Ms": 45.00327, "ErrorRate": 0, "Status": { "200": 278 } }, { "Scenario": "read", "Concurrency": 2, "RPS": 51.295747905661834, "P50Ms": 38.975769, "P95Ms": 43.033366, "P99Ms": 49.329375, "ErrorRate": 0, "Status": { "200": 511 } }, { "Scenario": "read", "Concurrency": 4, "RPS": 110.88463090226456, "P50Ms": 35.619257000000005, "P95Ms": 40.349394, "P99Ms": 46.899803, "ErrorRate": 0, "Status": { "200": 1105 } }, { "Scenario": "read", "Concurrency": 8, "RPS": 217.25988771972408, "P50Ms": 36.251855, "P95Ms": 42.355033, "P99Ms": 50.262031, "ErrorRate": 0, "Status": { "200": 2165 } }, { "Scenario": "read", "Concurrency": 16, "RPS": 370.24114557892005, "P50Ms": 37.485039, "P95Ms": 71.613409, "P99Ms": 111.75089200000001, "ErrorRate": 0, "Status": { "200": 3687 } }, { "Scenario": "read", "Concurrency": 32, "RPS": 755.8236863719462, "P50Ms": 38.287504999999996, "P95Ms": 64.49403600000001, "P99Ms": 104.37146899999999, "ErrorRate": 0, "Status": { "200": 7527 } }, { "Scenario": "read", "Concurrency": 64, "RPS": 904.4230202423414, "P50Ms": 51.510092, "P95Ms": 173.672529, "P99Ms": 239.69119, "ErrorRate": 0, "Status": { "200": 8982 } }, { "Scenario": "read", "Concurrency": 128, "RPS": 3089.4440282357054, "P50Ms": 23.442237000000002, "P95Ms": 85.606979, "P99Ms": 135.174558, "ErrorRate": 0.5589640269067039, "Status": { "200": 13572, "503": 17201 } }, { "Scenario": "toggle", "Concurrency": 1, "RPS": 101.28069807648163, "P50Ms": 9.484541, "P95Ms": 13.258976, "P99Ms": 16.052227, "ErrorRate": 0, "Status": { "303": 1012 } }, { "Scenario": "toggle", "Concurrency": 2, "RPS": 181.88163801191737, "P50Ms": 10.496462, "P95Ms": 15.29558, "P99Ms": 18.750016000000002, "ErrorRate": 0, "Status": { "303": 1817 } }, { "Scenario": "toggle", "Concurrency": 4, "RPS": 323.2568406861726, "P50Ms": 11.672455, "P95Ms": 16.952855999999997, "P99Ms": 21.727927, "ErrorRate": 0, "Status": { "303": 3229 } }, { "Scenario": "toggle", "Concurrency": 8, "RPS": 236.5608461046787, "P50Ms": 33.287513999999994, "P95Ms": 37.432587000000005, "P99Ms": 41.04903, "ErrorRate": 0, "Status": { "303": 2358 } }, { "Scenario": "toggle", "Concurrency": 16, "RPS": 446.34219462408225, "P50Ms": 34.806162, "P95Ms": 40.841651999999996, "P99Ms": 71.60932000000001, "ErrorRate": 0, "Status": { "303": 4448 } }, { "Scenario": "toggle", "Concurrency": 32, "RPS": 873.9763299895703, "P50Ms": 34.988298, "P95Ms": 44.67085, "P99Ms": 84.14837999999999, "ErrorRate": 0, "Status": { "303": 8709 } }, { "Scenario": "toggle", "Concurrency": 64, "RPS": 1021.7259457156242, "P50Ms": 47.003821, "P95Ms": 136.623008, "P99Ms": 169.532449, "ErrorRate": 0, "Status": { "303": 10155 } }, { "Scenario": "toggle", "Concurrency": 128, "RPS": 1541.1129774768578, "P50Ms": 53.413306, "P95Ms": 237.209585, "P99Ms": 341.468442, "ErrorRate": 0.32568027210884354, "Status": { "303": 10309, "503": 4979 } }, { "Scenario": "read-after", "Concurrency": 1, "RPS": 26.497040805183467, "P50Ms": 37.38619, "P95Ms": 43.146285, "P99Ms": 67.921425, "ErrorRate": 0, "Status": { "200": 264 } }, { "Scenario": "read-after", "Concurrency": 2, "RPS": 52.893435401021726, "P50Ms": 37.638214000000005, "P95Ms": 41.345954, "P99Ms": 46.976573, "ErrorRate": 0, "Status": { "200": 527 } }, { "Scenario": "read-after", "Concurrency": 4, "RPS": 104.78800956913224, "P50Ms": 37.759797999999996, "P95Ms": 43.010639000000005, "P99Ms": 52.446515, "ErrorRate": 0, "Status": { "200": 1044 } }, { "Scenario": "read-after", "Concurrency": 8, "RPS": 218.15609881206532, "P50Ms": 35.933694, "P95Ms": 43.158117000000004, "P99Ms": 56.509759, "ErrorRate": 0, "Status": { "200": 2174 } }, { "Scenario": "read-after", "Concurrency": 16, "RPS": 426.64814288081425, "P50Ms": 36.386053000000004, "P95Ms": 42.918265999999996, "P99Ms": 59.735639, "ErrorRate": 0, "Status": { "200": 4251 } }, { "Scenario": "read-after", "Concurrency": 32, "RPS": 807.918523355924, "P50Ms": 37.090711999999996, "P95Ms": 55.653822, "P99Ms": 77.34257799999999, "ErrorRate": 0, "Status": { "200": 8048 } }, { "Scenario": "read-after", "Concurrency": 64, "RPS": 915.4650480925231, "P50Ms": 54.654946, "P95Ms": 155.00248299999998, "P99Ms": 229.42922299999998, "ErrorRate": 0, "Status": { "200": 9093 } }, { "Scenario": "read-after", "Concurrency": 128, "RPS": 1384.7978847385973, "P50Ms": 85.781212, "P95Ms": 155.319064, "P99Ms": 215.698699, "ErrorRate": 0, "Status": { "200": 13723 } }, { "Scenario": "read-after", "Concurrency": 256, "RPS": 1398.2946720839582, "P50Ms": 173.7648, "P95Ms": 290.510786, "P99Ms": 391.953787, "ErrorRate": 0, "Status": { "200": 13733 } }, { "Scenario": "read-after", "Concurrency": 512, "RPS": 1398.1784484204934, "P50Ms": 347.999482, "P95Ms": 531.2550110000001, "P99Ms": 1619.185671, "ErrorRate": 0, "Status": { "200": 13479 } } ], "Weight": { "HTMLBytes": 36699, "JSBytes": 4596 }, "Memory": { "IdleKB": 14084, "PeakKB": 53904, "AfterKB": 49692 }, "Code": { "Server": 702, "Templates": 0, "JS": 113, "Tests": 203, "Deps": 7 }, "Build": { "ColdSeconds": 49.623494074, "WarmSeconds": 8.477199217, "EditSeconds": 5.752862848, "Bytes": 3155304, "Host": "DOCS-T1", "ColdRuns": 1, "Runs": 3 }, "TokensBuild": { "Input": 94, "Output": 46373, "CacheRead": 3981174, "CacheWrite": 102899, "Turns": 48, "Seconds": 1019.941, "CostUSD": 2.5472628 }, "TokensFix": { "Input": 14, "Output": 6770, "CacheRead": 839821, "CacheWrite": 8710, "Turns": 7, "Seconds": 397.575, "CostUSD": 0.3731002000000001 }, "TokensSecurity": { "Input": 0, "Output": 0, "CacheRead": 0, "CacheWrite": 0, "Turns": 0, "Seconds": 0, "CostUSD": 0 }, "TokensReview": { "Input": 619228, "Output": 2898, "CacheRead": 529920, "CacheWrite": 0, "Turns": 2, "Seconds": 0, "CostUSD": 0 }, "Readability": { "Naming": 4, "Structure": 4, "Traceability": 4, "Errors": 4, "Comments": 5, "Overall": 8, "Notes": "Strongest: the `act` helper gives every action one pipeline (resolve visitor, transaction, 404/303/fragment), so a request is easy to follow from route to db to markup; comments explain real why (body-read before 403 behind the edge, mutex over a pool, append-only migrations, editing li preservation). db.rs is one query per function with scoped list ids. Weakest: handler params are single letters (s, h, q, f) and the `found`/`Outcome` indirection adds a hop; `swap` in app.js is dense DOM surgery that needs careful reading; errors are only rusqlite wrapped in AppError and logged with eprintln, with a few `expect`s standing in for proper failure paths." }, "ReviewFindings": [ "[correctness] [apps/rust/static/app.js:10](/home/paulca/amadan.net/carlos/todomvc-bakeoff/.worktrees/rust/apps/rust/static/app.js:10): Filter navigation can discard pending changes. Requests wait in a promise queue, but filter links navigate immediately. With a toggle request pending, edit another todo and click a filter: blur queues the save, then navigation destroys the queue before that save reaches the server. Wait for pending actions before navigating.", "[spec] [apps/rust/src/main.rs:45](/home/paulca/amadan.net/carlos/todomvc-bakeoff/.worktrees/rust/apps/rust/src/main.rs:45): `--listen` accepts every loopback address, including `::1` and `127.0.0.2`. The brief explicitly restricts binding to `127.0.0.1`. Validate that exact address." ], "Notes": null }