RawBackendResult
Return from ProfilerBackend.result with line measurements, call counts, and diagnostics.
dataclass linescope.backends.base.RawBackendResult[source]
Return only collector measurements, independent of the report renderer.
| Attributes |
lines : list[RawLine] Collector measurements before source attribution and navigation. Honest diagnostics about collection limits or failures.
function_calls : dict[tuple[str, str, int], int | None] Exact call counts keyed by filename, qualified name, and first line. None marks a function whose entry was missed because it was already active when collection began. |
See Also
Describe measurements a collector can actually provide.
Define the minimal pluggable measurement lifecycle.
Carry a measurement before source ownership and navigation are applied.