DocumentTimes
- class DocumentTimes
Stage times for a single document.
Note that Windows has ~15 ms resolution timers only so this may be wildly inaccurate.
Members defined in
DocumentTimes(6 members)
RWThe time it took to construct the AST
RWThe time it took to index the document
RWThe time it took to parse the document
RWThe time it took to semantically resolve the document.
RWThe batch number the document was semantically resolved in
RWThe time it took to validate the document
Attributes
- property ast: datetime.timedelta
The time it took to construct the AST
- property index: datetime.timedelta
The time it took to index the document
- property parse: datetime.timedelta
The time it took to parse the document
- property sema: datetime.timedelta
The time it took to semantically resolve the document.
Note that semantic resolution is done in batches to work with cyclical dependencies, therefore this time is a batch (
sema_group) time.
- property sema_group: int | None
The batch number the document was semantically resolved in
- property validate: datetime.timedelta
The time it took to validate the document