Function timed

  • Decorator that can be applied to a method or function to profile it's execution time in milliseconds. Timing info is output to the console.

    The environment variable PROFILE_API must be set to 1 for profiling information to be recorded and output.

    Parameters

    • _: any
    • propertyKey: string
    • descriptor: PropertyDescriptor

    Returns void

Generated using TypeDoc