Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ProfileReport

Index

Constructors

  • new ProfileReport(profiler: Profiler, logMethod?: (message?: any, ...optionalParams: any[]) => void): ProfileReport
  • Parameters

    • profiler: Profiler
    • logMethod: (message?: any, ...optionalParams: any[]) => void = console.log
        • (message?: any, ...optionalParams: any[]): void
        • Prints to stdout with newline. Multiple arguments can be passed, with the first used as the primary message and all additional used as substitution values similar to printf(3) (the arguments are all passed to util.format()).

          const count = 5;
          console.log('count: %d', count);
          // Prints: count: 5, to stdout
          console.log('count:', count);
          // Prints: count: 5, to stdout

          See util.format() for more information.

          since

          v0.1.100

          Parameters

          • Optional message: any
          • Rest ...optionalParams: any[]

          Returns void

    Returns ProfileReport

Properties

logMethod: Function
profiler: Profiler
BUILD_REPORT_REGEX: RegExp = ...
EXCLUDE_FROM_BENCHMARK_REGEX: RegExp = ProfileReport.BUILD_REPORT_REGEX
HOOK_REPORT_REGEX: RegExp = ...
HOOK_REPORT_SUB_REGEX: RegExp = ...
IGNORED_THRESHOLDS: Set<RegExp> = ...
MAX_WIDTH: number = 80
TEMPLATE_REPORT_REGEX: RegExp = ...

Methods

  • output(showExpandedReport?: boolean): void
  • reportHooks(shownTimerKeys: Set<string>): void
  • reportSlowBuilds(shownTimerKeys: Set<string>): void
  • reportTemplates(shownTimerKeys: Set<string>): void
  • reportThreshold(shownTimerKeys: Set<string>): void
  • reportTimers(shownTimerKeys: Set<string>): void

Generated using TypeDoc