Skip to content

RawBackendResult


Return this record from ProfilerBackend.result with raw line measurements, elapsed driver time, and collection 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.

warnings : list[str]

Honest diagnostics about collection limits or failures.

function_calls : dict[tuple[str, str, int], int]

Exact call counts keyed by filename, qualified name, and first line.


See Also

BackendCapabilities

Describe measurements a collector can actually provide.

ProfilerBackend

Define the minimal pluggable measurement lifecycle.

RawLine

Carry a measurement before source ownership and navigation are applied.