FirebasePerformance Framework Reference Stay organized with collections Save and categorize content based on your preferences.
Classes
The following classes are available globally.
Instances of
HTTPMetriccan be used to record HTTP network request information.Declaration
Objective-C
@interfaceFIRHTTPMetric:NSObject<FIRPerformanceAttributable>This class allows you to configure the Firebase Performance Reporting SDK. It also provides the interfaces to create timers and enable or disable automatic metrics capture.
This SDK uses a Firebase Installations ID to identify the app instance and periodically sends data to the Firebase backend (see
Installations.installationID(completion:)). To stop this periodic sync, callInstallations.delete(completion:)and either disable this SDK or set Performance.dataCollectionEnabled to false.Declaration
Objective-C
@interfaceFIRPerformance:NSObjectFIRTrace objects contain information about a “Trace”, which is a sequence of steps. Traces can beused to measure the time taken for a sequence of steps.Traces also include “Counters”. Counters are used to track information which is cumulative innature (e.g., Bytes downloaded). Counters are scoped to an FIRTrace object.
Declaration
Objective-C
@interfaceFIRTrace:NSObject<FIRPerformanceAttributable>
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-11 UTC.