GitHub

API reference for Report.

What a profile measured; complete once its profile block ends.

Attributes

AttributeTypeDescription
fibersMapping[int, FiberTime]

Time per fiber id.

spansMapping[str | None, FiberTime]

Time per span name (an external span's id); None for turns outside every span.

Functions

__init__

__init__() -> None
def __init__(self) -> None:
    self._fibers: dict[int, FiberTime] = {}
    self._spans: dict[str | None, FiberTime] = {}