Test Perf Leaks

CPU-profile or leak-detect an existing vitest suite via env-gated instrumentation — DX_PROFILE_TESTS emits a V8 .cpuprofile, DX_DEBUG_LEAKS writes before/after heap snapshots plus a per-test heapUsed slope, with zero edits to the test file. Use when a suite is slow, memory grows across a run, or you need to find a hotspot/leak in node tests (echo/halo/mesh/sdk/composer/compute, incl. assistant + agentService).

dxos e2170b7 5.6 KB Updated

File contents

dxos/dxos/tree/main/.agents/skills/test-perf-leaks commit e2170b7f43

Frequently asked questions

npx skillmds@latest add dxos/test-perf-leaks