Files
buzz/desktop/tests/helpers
Max Lampert 0cfabee5f7 test(desktop): high-membership channel-switch perf harness
Add an inflateChannelMembers mock-bridge knob (channel name → target
member count; synthetic hex-pubkey members appended once, on first
channel read) and a member-heavy-switch perf spec that measures warm
switch wall time and longtasks for channel↔channel and
channel↔Projects at baseline / 2k / 10k members per channel, holding
message volume constant at 150 rows. Method mirrors
warm-switch-markdown.perf.ts: in-page click + rAF polling, 4x CPU
throttle, medians over 16 switches after an untimed warmup round-trip.

Run from desktop/:
  pnpm build:e2e
  npx playwright test --config=playwright.perf.config.ts member-heavy-switch.perf.ts

Signed-off-by: Max Lampert <maxwell@squareup.com>
2026-08-26 12:33:25 -07:00
..
2026-08-10 14:33:23 -07:00