Memory Footprint and Leak Check
Measures memory used after mount, after operations and after teardown, and repeats mount/destroy cycles to detect leaks. Memory regressions are silent and costly in long-lived applications.
Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Standard scenario, 20 leak cycles, memory chart empty, API availability badge shown.
Expected behavior
The chart plots memory after each cycle. A verdict shows pass if the trend slope and final delta stay within tolerance. In browsers without a memory API, the example explains the limitation and shows only cycle timings.
Planned API surface
memoryProbemeasureMemory()leakCyclesretainedDeltaBytesmemoryApiAvailabilityAcceptance criteria
- Reported metrics: baseline, after-mount, after-operations, after-teardown, retained delta (pending)
- Leak verdict uses a documented linear trend test over cycles (pending)
- Measurement source (precise API, approximate API, unavailable) is stated next to every number (pending)
- No verdict is issued when memory APIs are unavailable (pending)
- Teardown removes all grid DOM nodes and listeners, verified by node count check (pending)