com.google.firebase.perf

Classes

FirebasePerformance

The Firebase Performance Monitoring API.

Annotations

FirebasePerformance.HttpMethod

Valid HttpMethods for manual network APIs

Top-level functions summary

inline T
<T : Any?> trace(name: String, block: Trace.() -> T)

Creates a Trace object with given name and measures the time it takes to run the block wrapped by calls to start and stop.

Extension functions summary

inline Unit

Measures the time it takes to run the block wrapped by calls to start and stop using HttpMetric.

inline T
<T : Any?> Trace.trace(block: Trace.() -> T)

Measures the time it takes to run the block wrapped by calls to start and stop using Trace.

Extension properties summary

Top-level functions

trace

inline fun <T : Any?> trace(name: String, block: Trace.() -> T): T

Creates a Trace object with given name and measures the time it takes to run the block wrapped by calls to start and stop.

Extension functions

trace

inline fun HttpMetric.trace(block: HttpMetric.() -> Unit): Unit

Measures the time it takes to run the block wrapped by calls to start and stop using HttpMetric.

trace

inline fun <T : Any?> Trace.trace(block: Trace.() -> T): T

Measures the time it takes to run the block wrapped by calls to start and stop using Trace.

Extension properties

performance

val Firebase.performanceFirebasePerformance

Returns the FirebasePerformance instance of the default FirebaseApp.