Incular logoIncular
API ReferencePlatform & Testing

Diagnostics

Scheduler, frame, GPU, window, and subsystem counters.

Machine-readable aggregates for overlays, DevTools, and telemetry (see Testing for the workflow).

SnapshotKey fields
SchedulerCounterssignal_reads/writes, dependents_enqueued, frames started/presented/skipped
BudgetStatisticsRefresh rate, budget µs, over-budget frames, longest frame
FrameStatisticsSamples, latest/mean/min/max, p50/p95/p99 µs
FrameHistory[300,1000]-capacity ring; push, latest, statistics
GpuSamplesupported, frame, main-pass µs
RenderFrameMetricsDraw calls, passes, triangles, upload bytes, encode/submit µs
PerformanceSnapshotScheduler + budget + fps + windows + widget/text/accessibility work; overlay_lines()
PerformanceHubObservable latest snapshot; snapshot(), publish(), version()
WindowDiagnosticsSizes, lifecycle, frames, input events, elements, capabilities, last error
ApplicationDiagnosticsWindows created/closed/active, stale commands
RuntimeDiagnosticsTask spawn/complete/cancel/panic counts, UI queue stats
RuntimeEnvironmentNormalized viewport/scale/locale/input snapshot
FocusDiagnostics / EditingDiagnosticsFocused element, key/IME counters
SemanticsDiagnosticsNode create/update/remove, revisions dirty signal
AccessibilityDiagnosticsAdapter, tree-update, action, focus counters

ChangeImpact: None (default) / Composite / Paint / Layout / Build — the invalidation scope a property change requires. Invalidation is the multi-phase damage bitmask (BUILD / LAYOUT / PAINT / COMPOSITE / SEMANTICS / HIT_TEST); DirtyFlags aliases it. RuntimeErrorReport { failure: TaskFailure } carries runtime failures for logging/telemetry (panics never unwind to the native loop).

Related: Testing, MediaQuery.