@nevware21/tripwire - v0.1.8
    Preparing search index...

    Interface IRunnerMetrics

    Runner monitoring metrics for execution flow and behavior.

    0.2.0

    interface IRunnerMetrics {
        counts: IRunnerMetricCounts;
        criticalPathDuration: number;
        currentStackDepth: number;
        droppedTraceEvents?: number;
        endTime?: number;
        executionMode: RunnerExecutionMode;
        maxStackDepth: number;
        maxStackNestedDepth: number;
        message?: string;
        perTestWaitRatios: IRunnerPerTestWaitMetric[];
        retryDiagnostics: IRunnerRetryDiagnostics;
        runDuration?: number;
        slowestExecutions: IRunnerSlowestExecutions;
        stackNestedDepth: number;
        startTime?: number;
        timeoutDiagnostics: IRunnerTimeoutDiagnostics;
        totalActiveTime: number;
        totalExecutionTime: number;
        totalWaitTime: number;
        trace: IRunnerMetricTrace[];
        traceCompression: IRunnerTraceCompression;
    }
    Index

    Aggregate counters.

    criticalPathDuration: number

    Estimated critical-path duration in milliseconds.

    currentStackDepth: number

    Current execution stack depth.

    droppedTraceEvents?: number

    Number of dropped trace events after the capture limit was reached.

    endTime?: number

    Timestamp when the run completed (milliseconds since epoch).

    executionMode: RunnerExecutionMode

    Aggregate execution mode.

    maxStackDepth: number

    Maximum observed execution stack depth (scope-entry depth).

    maxStackNestedDepth: number

    Maximum observed nested stack depth. For synchronous executions this equals maxStackDepth. For asynchronous executions it also tracks the depth inherited by async continuations, which may exceed maxStackDepth.

    message?: string

    Only present when the runner was created without the metrics option enabled (see ITestRunnerOptions.metrics). Explains that only the basic counters and timing totals were captured and that the trace, execution samples, wait ratios and diagnostics are empty.

    perTestWaitRatios: IRunnerPerTestWaitMetric[]

    Per-test wait ratio metrics.

    retryDiagnostics: IRunnerRetryDiagnostics

    Retry diagnostics.

    runDuration?: number

    Full run duration in milliseconds.

    slowestExecutions: IRunnerSlowestExecutions

    Slowest execution diagnostics.

    stackNestedDepth: number

    Current nested (async continuation) stack depth. Incremented when an async callback inherits depth from its calling context; 0 outside async continuations.

    startTime?: number

    Timestamp when the run started (milliseconds since epoch).

    timeoutDiagnostics: IRunnerTimeoutDiagnostics

    Timeout diagnostics.

    totalActiveTime: number

    Sum of active (non-waiting) time for instrumented function executions.

    totalExecutionTime: number

    Sum of all instrumented function execution durations.

    totalWaitTime: number

    Sum of all measured wait times for instrumented async function executions.

    Execution trace entries in observed order.

    traceCompression: IRunnerTraceCompression

    Trace compression diagnostics.