perf_log library
Render-path diagnostic trace for the viewer.
UNSTABLE diagnostics surface with no semver guarantee - deliberately
not exported from package:dart_pdf_editor/dart_pdf_editor.dart, mirroring
package:pdf_cos/perf.dart.
Kept a separate entry point so a host can flip the trace on (and install a
PdfPerfLog.sink) from code that must stay out of the editor's own loading
unit - the app's main.dart runs before its deferred app.dart split, and
importing the package entry there would pull the whole editor stack into
the initial web download.
Classes
- PdfPerfLog
- Lightweight, frame-gated performance log for diagnosing scroll/render hangs on heavy documents.
- PdfRasterProbe
- Measures one rasterize call: its wall duration AND how many rasters were in flight alongside it.