Options
All
  • Public
  • Public/Protected
  • All
Menu

Firebase Performance Event Tools.

namespace

Index

Functions

  • getTracer(tracerName: string): Trace
  • Get a tracer (custom event) by name, if it doesn't exists create it.

    Parameters

    • tracerName: string

      The name of the tracer.

    Returns Trace

    The tracer instance.

  • recordPerformance(tracerName: string, delay: number, duration: number): void
  • Record performance for a specific time.

    Parameters

    • tracerName: string

      The name of the tracer.

    • delay: number

      The delay before starting measuring.

    • duration: number

      The duration of the measuring.

    Returns void

  • startTracer(tracerName: string): void
  • Start measuring performance for a custom event (tracer).

    Parameters

    • tracerName: string

      The name of the tracer.

    Returns void

  • stopTracer(tracerName: string): void
  • Stop measuring performance for a custom event (tracer).

    Parameters

    • tracerName: string

      The name of the tracer.

    Returns void

Generated using TypeDoc