MLightCAD
    Preparing search index...

    Session open-file profiler gated by the AcDbSystemVariables.OPENPROF system variable.

    When enabled, records PARSE/FONT/ENTITY (and other openProgress sub-stages), wall-clock read vs scene convert time, and AcDbRenderingCache hit/miss counters, then prints a console summary once the view finishes converting entities (isProcessingEntities === false).

    Stage durations use active-stage wall time: from the first event of a sub-stage until the first event of a different sub-stage. This matches the UI overlay (e.g. font download that continues after a converter emits FONT/END prematurely) better than START→END alone.

    Index

    Constructors

    Methods

    • Starts a profiling session if OPENPROF is on.

      Call from document-open start (before db.read / URI open). Safe to call when profiling is off — it becomes a no-op.

      Parameters

      • database: AcDbDatabase

        Database that will emit openProgress for this open.

      Returns void