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 |
Creates a |
Extension functions summary
inline Unit |
HttpMetric.trace(block: HttpMetric.() -> Unit) Measures the time it takes to run the |
inline T |
Measures the time it takes to run the |
Extension properties summary
FirebasePerformance |
Returns the |
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.performance: FirebasePerformance
Returns the FirebasePerformance
instance of the default FirebaseApp
.