Callable

  • performance ( app ? :  App ) : Performance
  • firebase.performance() can be called with no arguments to access the default app's Performance service. The Performance service does not work with any other app.

    The Performance SDK does not work in a Node.js environment.

    example
    // Get the Performance service for the default app
    const defaultPerformance = firebase.performance();

    Parameters

    • Optional app: App

      The app to create a performance service for. Performance Monitoring only works with the default app. If not passed, uses the default app.

    Returns Performance

Index