CmpStr - v3.2.1
    Preparing search index...

    Interface ProfilerService<T>

    ProfilerService defines the API for the Profiler utility, providing methods to enable/disable profiling, clear results, retrieve reports, and get totals.

    interface ProfilerService<T> {
        clear: () => void;
        disable: () => void;
        enable: () => void;
        last: () => ProfilerEntry<T> | undefined;
        report: () => ProfilerEntry<T>[];
        total: () => { mem: number; time: number };
    }

    Type Parameters

    • T

      The type of the profiled result

    Index

    Properties

    clear: () => void
    disable: () => void
    enable: () => void
    last: () => ProfilerEntry<T> | undefined
    report: () => ProfilerEntry<T>[]
    total: () => { mem: number; time: number }