Typeberry by Fluffy Labs - v0.8.4
    Preparing search index...

    Function measure

    • Utility function to measure time taken for some operation [ms].

      To reduce allocations, each timer can only track one entry.

      Parameters

      • id: string

      Returns () => { id: string; start: number; duration(): number; toString(): string }