PdfPerfPhase enum

Timed phases. Enum-indexed so recording is string-free and alloc-free.

A phase accumulates inclusive wall time across all its begin/end pairs; nested phases (e.g. flate inside docOpen) each count their own time, so phase sums can exceed end-to-end wall time. Compare a phase with itself across runs, not phases against each other as a partition.

Inheritance
Available extensions

Values

docOpen → const PdfPerfPhase

CosDocument.open end to end (header scan, xref, encryption init, /Root resolve; includes xrefRecovery when the fallback runs).

xrefParse → const PdfPerfPhase

Parsing the cross-reference chain (tables + streams + /Prev walk).

xrefRecovery → const PdfPerfPhase

The full-file N G obj recovery scan when the xref chain is broken.

objectStreamIndex → const PdfPerfPhase

Locating + decoding + indexing an object stream (/Type /ObjStm).

streamDecrypt → const PdfPerfPhase

Decrypting stream payloads (RC4/AES) inside decodeStreamData.

flate → const PdfPerfPhase
lzw → const PdfPerfPhase
ccitt → const PdfPerfPhase
jbig2 → const PdfPerfPhase
jpx → const PdfPerfPhase
dct → const PdfPerfPhase
runLength → const PdfPerfPhase
asciiFilter → const PdfPerfPhase
contentTokenize → const PdfPerfPhase

Content-stream tokenization (ContentStreamParser).

saveIncremental → const PdfPerfPhase

Incremental save (CosIncrementalUpdater.save), including xref append.

saveFull → const PdfPerfPhase

From-scratch serialization (CosDocumentBuilder.build).

encryptGraph → const PdfPerfPhase

Re-encrypting the changed-object graph on save.

pageTreeWalk → const PdfPerfPhase

Page-tree leaf walk (pdf_document).

fontParse → const PdfPerfPhase

Font-program parsing (TrueType/CFF/Type1) in pdf_graphics.

textExtract → const PdfPerfPhase

Text extraction over a page (pdf_graphics).

byteRangePatch → const PdfPerfPhase

ByteRange patching during signing (pdf_document).

sourceFetch → const PdfPerfPhase

Fetching bytes from a ranged/lazy byte source.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PdfPerfPhase>
A constant List of the values in this enum, in order of their declaration.