seriesoftubes/tests
Antoine 39941c257e
WebGL map: keep the 2D map where WebGL is drawn by the processor
With the perf benchmark now waiting for the surface the map was drawn on,
headless Chromium showed what WebGL costs without a graphics card: its
SwiftShader renderer spends about 8 µs per instance, so the coastlines alone
(29k segments, twice) took about 480 ms and a big map 1.4 s a frame, where the
2D canvas takes 46 ms. Players get the same with a blocked driver, a virtual
machine or Mesa's llvmpipe. glInit() now reads the renderer first and keeps
the 2D map on SwiftShader, llvmpipe, softpipe, lavapipe, WARP or any
"software" renderer; GLX.soft lets the GPU benchmark measure them anyway.
2026-11-04 22:37:13 +01:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Routing loop: keep flows in typed-array columns instead of objects, and add up link and transit totals without boxing numbers 2026-11-01 14:27:45 +01:00
agent-api.test.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
agent-relay.test.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
agent-settings.test.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
any-home-city.test.js Title screen: language first, name on top, compact presets, one home-city drawer 2026-10-29 11:31:46 +01:00
architect.test.js Architect: a diverse tube takes the cheapest other route, and the detour message names every site (closes #282) 2026-11-04 14:46:47 +01:00
au-north.test.js Port Hedland, Townsville and Alice Springs; the wet season up north (closes #255) 2026-11-03 10:28:03 +00:00
automation.test.js Tests: #185 sales and repair run as standing orders; batches open from the Ops sheet 2026-10-28 17:46:16 +01:00
backbone-core.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
badge-cape-horn.test.js A link starts at one of your POPs, for typed orders too 2026-11-04 22:45:52 +10:00
badges-variants.test.js Badge upgraded toast follows the collection on this device 2026-10-28 19:34:41 +01:00
best-effort.test.js Best Effort: PNIs are up at once, no attack warnings without attacks 2026-11-03 08:19:10 +00:00
big-numbers.test.js feat(ui): show billions of dollars and petabits per second 2026-11-04 04:32:16 +01:00
bilbao-landing.test.js Follow-up to #285: Columbus III-and-a-half comes ashore near Cádiz 2026-11-04 21:40:51 +01:00
borders-overland.test.js Nothing leaves South Korea over land 2026-11-04 13:25:34 +00:00
build.test.js MCP: the agent facade moves into src/agent/, assembled into the development page only 2026-11-03 16:18:38 -05:00
cable-labels.test.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
cable-ships.test.js A waiting subsea cut offers a charter only when it beats waiting for the club's first ship home 2026-11-01 11:52:42 +00:00
cache-ports.test.js 400G cache boxes behind 400G or faster router ports 2026-11-01 11:37:34 +01:00
calendar.test.js A real calendar: months of 28 to 31 days and leap years; monthly prices, loans, the intern budget and conferences follow it (#257) 2026-11-01 19:02:06 +01:00
call-the-bank.test.js Call the bank from AA up, and weird conditions always apply (#251) 2026-11-04 13:36:46 +00:00
capacity-deals.test.js Merge #156: look fiber customers up by link id (huguesdelamure) 2026-10-27 20:34:01 +01:00
capitals.test.js Every capital in Africa, which completes every capital of the world 2026-11-03 22:11:43 +01:00
chaos-monkey.test.js NOC notices that would open the NOC get no Open button (#226) 2026-10-31 07:31:22 +01:00
chart-legend.test.js feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
city-size.test.js Map: cities show their size, and crowded small ones step back to a dot 2026-10-31 11:36:48 +01:00
compute-idempotent.test.js Billing: a recompute after the day tick no longer counts today's 95th-percentile sample twice 2026-10-28 20:42:08 +01:00
ddos-floods.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
ddos-model.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
de-kicks-price-cap.test.js Follow-ups to #276, #277 and #278 2026-11-04 08:11:03 +01:00
direct-egress.test.js Prefer keeps the say at its own POP only, and the direct ranks stop slowing the game day 2026-11-01 20:07:23 +11:00
durations.json tests/durations.json: seconds per test file, so the four CI parts take about the same time 2026-10-31 14:23:42 +01:00
eyeballs.test.js Jokes target networks, never people; meetings meet where they really do; North Korea is a trickle 2026-11-04 16:36:05 +01:00
fiber-broker.test.js Consortium seats take regen sites; the broker sells listings as the market wants (#203) 2026-10-31 08:32:05 +01:00
find-city.test.js Find a city: a search box in the HUD and on / that jumps the map there (closes #218) 2026-10-31 13:57:35 +01:00
focus-link.test.js Inspecting a link moves the map to it 2026-10-31 14:53:11 +00:00
game.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
gameplay-rules.test.js Every capital in Africa, which completes every capital of the world 2026-11-03 22:11:43 +01:00
gangnam.test.js Tests: Gangnam reference hauls from Tokyo; Seoul-only, Tokyo-only and the old plan fail 2026-10-29 20:59:17 +01:00
glowball-sakura-lager.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
gpu-bench.test.js GPU benchmark: isolate trials, time the card, say which map drew 2026-11-04 22:37:13 +01:00
harness.js A NOC screen in its own window, for a second display 2026-11-04 20:01:37 +11:00
i18n.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
intern-optics.test.js Let the intern light new fiber with the biggest optic (#262) 2026-11-03 09:11:08 +01:00
intern-ports.test.js Follow-ups to #271 2026-11-04 08:03:10 +00:00
islands-and-arctic.test.js Fiber over land inside one country; no circuits between the Koreas 2026-11-04 12:46:37 +00:00
issues.test.js A link starts at one of your POPs, for typed orders too 2026-11-04 22:45:52 +10:00
ix-downgrade.test.js Follow-ups to #276, #277 and #278 2026-11-04 08:11:03 +01:00
keyboard-shortcuts.test.js Merge branch 'pr270b' 2026-11-03 12:10:19 +01:00
language-picker.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
latency-offers.test.js Fiber over land inside one country; no circuits between the Koreas 2026-11-04 12:46:37 +00:00
latency.test.js Fix the padded yellow progress bars 2026-10-27 20:42:12 +01:00
levels.test.js Router trade-ins, one swap a day, and speed-based requirements (#82) 2026-10-25 21:49:51 +01:00
link-metrics.test.js Put a link on standby; the routing metric stays per city pair (#122) 2026-10-28 07:11:47 +01:00
link-preconditions.test.js Founding your own IX says why it can't 2026-11-04 23:07:57 +10:00
link-trial.test.js Redundancy check routes once, against the live routing (#62) 2026-10-28 19:47:19 +01:00
load-time.test.js Fiber over land inside one country; no circuits between the Koreas 2026-11-04 12:46:37 +00:00
mcp-commands.test.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-http.test.js MCP server on the official SDK, over stdio or HTTP 2026-11-03 16:18:38 -05:00
mcp-parity.test.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.test.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
metric-panel.test.js Custom metric panel updates on Safari after switching multiplier and cost (#131) 2026-10-28 19:38:55 +01:00
modes.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
more-cables.test.js Subsea cables stay at sea: fix the date-line wrap and routes across land (#183) 2026-10-28 06:17:39 +01:00
moscow-premium.test.js China Telecomet's premium crossing in Moscow, at the Hong Kong price (#195) 2026-10-28 14:13:15 +01:00
networks-list.test.js The Networks list shows 100 networks at a time 2026-10-29 11:13:59 +01:00
new-game-speed.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
noc-window.test.js feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
north-america.test.js Every US state capital, Washington DC, Canada's capitals and Greenland 2026-11-03 17:57:27 +01:00
optic-counts.test.js A fiber given up keeps its optics: they go on the spares shelf (#229) 2026-10-31 07:15:35 +01:00
optic-ports.test.js A 1.6T transponder takes two ports on 800G routers, one per 800G client (#256) 2026-11-01 19:02:06 +01:00
own-asn.test.js Pick your own AS number next to the name; a round green arrow for another name (#135) 2026-10-29 18:59:07 +01:00
pages.test.js MCP: the agent facade moves into src/agent/, assembled into the development page only 2026-11-03 16:18:38 -05:00
peering-desk.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
peering.test.js Connections overview prices 400G cache boxes right; tests pin 100G boxes where they mean them 2026-11-01 12:06:20 +01:00
perf.test.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
persist.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
philippines.test.js Philippines: Cebu and Davao get connectivity estimates, RISE & Shine stays off the Pacific route, W44 par 2026-10-31 15:00:26 +01:00
pni-all.test.js Bulk PNI test fills the ports now that caches share them (#252) 2026-11-01 11:32:29 +01:00
pni-global.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
pni-list.test.js PNI list: tests and changelog (#175, #172) 2026-10-29 19:07:44 +01:00
pnis-and-sold-out.test.js Sold-out wave sizes can't be reached by upgrading a smaller wave (#201) 2026-10-30 18:21:14 +01:00
pop-standard.test.js Give POPs built by links, fiber, cables and seats the standard routers (#261) 2026-11-02 21:45:30 +01:00
puzzle-monkey.test.js Puzzles: the chaos monkey acts out the N-1 star in every puzzle 2026-10-30 12:24:53 +01:00
puzzle-sheet.test.js Puzzles on phones: three goals in plain words with Show me, the problem marked on the map, a sheet that starts small, and a quieter map 2026-11-04 21:48:21 +01:00
puzzles.test.js Puzzles on phones: three goals in plain words with Show me, the problem marked on the map, a sheet that starts small, and a quieter map 2026-11-04 21:48:21 +01:00
regions.test.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
release-story.test.js Release notes: a story for big releases, and the 2.0 story 2026-10-30 16:28:19 +01:00
report-link.test.js Test the menu's small GitHub and chat links 2026-10-29 21:40:19 +01:00
route-cache.test.js Routing keeps its structural tables between calls and runs its hot loops as small functions, identical results 2026-11-01 19:04:17 +01:00
route-fuzz.test.js Every US state capital, Washington DC, Canada's capitals and Greenland 2026-11-03 17:57:27 +01:00
route-server-peers.test.js Keep route-server networks on the route server (#265) 2026-11-03 09:03:33 +01:00
route-skip.test.js Clicks that change nothing routing reads keep their routing (loans do reroute); CHANGELOG corrected 2026-11-01 18:36:52 +01:00
route-worker.test.js Merge remote-tracking branch 'origin/main' into perf/3-worker 2026-11-01 16:14:07 +01:00
router-art.test.js Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
routers-per-pop.test.js Allow up to 16 routers per POP, with a cage extension past six (#157) 2026-10-27 18:48:58 +01:00
routing-modal.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
routing-reference.test.js Routing keeps its structural tables between calls and runs its hot loops as small functions, identical results 2026-11-01 19:04:17 +01:00
rules-locked.test.js Saves get the rules of their mode, whatever their rules say 2026-10-29 07:01:18 +01:00
rules.test.js Add Best Effort, a soft mode, and quiet notifications 2026-11-03 08:12:09 +00:00
sales-trial.test.js Sales trial: run the pass with the offer first, and skip the other when it cannot change the answer 2026-10-28 19:14:51 +01:00
save-size.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
save-slots.test.js Damaged saves are retried by the next version and have a Try again button; imports up to 64 MB 2026-11-01 13:08:43 +01:00
scenarios-playtest.test.js Follow-up to #285: Columbus III-and-a-half comes ashore near Cádiz 2026-11-04 21:40:51 +01:00
sea-optic-hint.test.js A plug-in optic too short for a subsea cable is no longer sent to upgrades that cannot stretch it (closes #253) 2026-11-01 23:03:47 +11:00
sea-routing.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
sea-rush.test.js Pay to hurry the permits and factory of your own subsea cable (closes #258) 2026-11-03 10:35:16 +00:00
services.test.js Rework DDoS generation, mitigation accounting and NOC reporting 2026-10-27 13:00:57 +00:00
ship-clearance.test.js Zoom in twice as far; ships at anchor keep clear of their port 2026-11-04 11:54:31 +00:00
specialist.test.js Tests for specialist play, and gameplay rule F3: specialist paths only bring servable customers 2026-10-29 19:12:44 +01:00
speed.test.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
standing-orders.test.js Tests count calendar months, not 30 days (#257) 2026-11-01 19:27:01 +01:00
subsea-upgrade-timing.test.js A link starts at one of your POPs, for typed orders too 2026-11-04 22:45:52 +10:00
supply.test.js Supply chain: hardware prices drift up, shortages come and go, spares and price locks 2026-10-27 09:25:47 +01:00
tier1-cone.test.js Doitsche Telekomm and Tangerine Telecom are Tier 1s (#194) 2026-11-01 12:23:33 +00:00
tier1-incumbents.test.js Doitsche Telekomm and Tangerine Telecom are Tier 1s (#194) 2026-11-01 12:23:33 +00:00
traceroute-modes.test.js Follow-ups to #276, #277 and #278 2026-11-04 08:11:03 +01:00
traceroute.test.js Show the cache hop in traceroute only when a cache is the exit 2026-11-03 08:32:00 +00:00
useless-subsea-upgrades.test.js Submarine upgrades that change nothing on a cable can't be bought (#198) 2026-10-29 01:57:32 +00:00
utilities-caches.test.js Cache boxes sized by the city's own traffic split: Russia, China and Korea use their network lists, no box without local traffic (closes #260) 2026-11-02 07:36:17 +01:00
utilities.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
webgl-map.test.js WebGL map: keep the 2D map where WebGL is drawn by the processor 2026-11-04 22:37:13 +01:00
weekly-architect.test.js Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
weekly-puzzle.test.js Weekly puzzle: schema 2 with traffic, sized references, regenerated weeks 2026-10-29 10:50:04 +01:00
weekly-scenario.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
where-things-happen.test.js Jokes target networks, never people; meetings meet where they really do; North Korea is a trickle 2026-11-04 16:36:05 +01:00