seriesoftubes/tests
Frederic Jung c76dd4d556
Benchmark in real Chromium too, and only call a row slower when the samples say so
npm run perf -- --browser times the same workloads in Chromium as a desktop
and as a phone (390x844 at 3x, CPU slowed 4x), one browser per version. Each
run collects garbage first and ends by forcing layout and the map canvas, so
deferred work counts. The jsdom DOM is about 30x slower than a browser's and
has no layout, so the interface rows need this.

Shared machines swing single runs by 30% on identical code, CPU time
included. A row now counts as slower or faster only when it moved 15% and a
Mann-Whitney U test gives p < 0.01 (15 runs a side by default). Identical
code: no flags in three full runs; a routing slowdown planted in a copy is
flagged in jsdom and on the phone.

The panel workload renders both selections every run instead of alternating,
which split its samples in two. CI drives the runner's Chrome through
playwright-core, no browser download.
2026-10-26 12:04:57 +01:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
build.test.js Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +02:00
game.test.js Stricter credit, revenue share on big loans, weird new lenders and conditions 2026-10-25 15:50:28 +01:00
harness.js Add Italian translation and a language switch 2026-10-24 21:52:27 +02:00
i18n.test.js Add Portuguese (Brazil) translation 2026-10-25 19:58:05 -03:00
issues.test.js Let the 3.2T transponder fall back to 1.2T like the 1.6T one (#107) 2026-10-26 10:28:28 +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
modes.test.js Advertise the Signal group in the game and on GitHub 2026-10-26 07:41:50 +01:00
peering.test.js Merge pull request #18 from NickBouwhuis/add-fries-ix 2026-10-24 21:14:23 +02:00
perf.test.js Benchmark in real Chromium too, and only call a row slower when the samples say so 2026-10-26 12:04:57 +01:00
persist.test.js Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
regions.test.js African networks buy transit from Tier 1s 2026-10-26 08:13:12 +01:00
routing-reference.test.js Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
services.test.js Add customers that connect over interconnection fabrics (1.16.0) 2026-10-25 06:29:33 +01:00
speed.test.js Test that #89's fast routing matches the plain path 2026-10-26 05:56:15 +01:00