traceperf
    Preparing search index...

    Interface TraceRecorder

    Collects finished trees in memory; stop() returns a Chrome trace

    interface TraceRecorder {
        name?: string;
        roots: ExecutionRecord[];
        onComplete?(root: ExecutionRecord): void;
        onStart?(execution: ExecutionStart): void;
        stop(): ChromeTrace;
        wrap?<R>(execution: ExecutionStart, run: () => R): R;
    }

    Hierarchy (View Summary)

    Index
    name?: string

    Optional name used in error messages

    Trees recorded so far