Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Manual performance timer for complex operations.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Add a checkpoint with optional name. Records current time and memory snapshot.

      Parameters

      • Optionalname: string

        Optional name for the checkpoint.

      Returns void

      Void.

      Error if timer has not been started.

    • End the timer and log final results. Logs total duration, checkpoint summary, and memory delta. Resets the timer after logging.

      Parameters

      • status: "success" | "failure" | "cancelled" = "success"

        Operation status: 'success', 'failure', or 'cancelled' (default: 'success').

      Returns void

      Void.

      Error if timer has not been started.