testing library
Test utilities for PerfScope consumers.
Exports deterministic fakes that make golden-style assertions over PerfScope behavior possible without real frame timings or wall clocks:
- FakeFrameSource — push synthetic samples on demand.
- MemoryLogWriter — capture everything PerfScope writes.
Classes
- FakeFrameSource
- Deterministic FrameSource for tests.
- MemoryLogWriter
- LogWriter that accumulates entries in memory.