seriesoftubes/scripts/lib
Antoine 1e9b1d458b
GPU benchmark: isolate trials, time the card, say which map drew
- A trial now ends before the next starts: the clock stops, the frame
  callback is cancelled (and a queued one turned away), a day still in the
  route worker is waited for (or dropped), the clock's leftovers are cleared,
  and every trial starts from the same random numbers.
- The renderers take turns going first, scenario by scenario; ?reps=N runs
  each N times and reports medians.
- draw() is labelled as CPU submission time; the card's own time comes from
  EXT_disjoint_timer_query_webgl2 where available (read frames later, never
  waited for, disjoint results dropped); a run drawn by the other map is
  flagged.
- npm run perf --browser reads its sync pixel back from the surface the map
  was drawn on (the WebGL canvas waits for the card) and says which map each
  version drew with.
2026-11-04 22:37:13 +01:00
..
compile-labels.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
dict.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
fuzz-page.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
gpu-bench-client.js GPU benchmark: isolate trials, time the card, say which map drew 2026-11-04 22:37:13 +01:00
mcp-browser.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
mcp-game.js feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
mcp-headless.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
page.js MCP: the agent facade moves into src/agent/, assembled into the development page only 2026-11-03 16:18:38 -05:00
puzzle-solver.js Puzzles: real traffic routed by the game, routers, link sizes and paths 2026-10-29 10:35:28 +01:00
relay-client.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
route-fuzz.js Differential random games: main's page and this checkout's play the same seeded game move for move 2026-11-01 21:44:30 +01:00
scenario-bot.js Weekly scenario generator with a reference player, and weeks 2026-W44 to W46 2026-10-29 17:34:38 +01:00
scenario-ref.js Tests: Gangnam reference hauls from Tokyo; Seoul-only, Tokyo-only and the old plan fail 2026-10-29 20:59:17 +01:00