Commit e25ee98d authored by Michael Comella's avatar Michael Comella Committed by Will Hawkins
Browse files

No issue: fix typo in Performance.instrumentColdStartup... (#7848)

parent cf63db20
...@@ -29,7 +29,7 @@ object Performance { ...@@ -29,7 +29,7 @@ object Performance {
fun instrumentColdStartupToHomescreenTime(activity: HomeActivity) { fun instrumentColdStartupToHomescreenTime(activity: HomeActivity) {
// For greater accuracy, we could add an onDrawListener instead of a preDrawListener but: // For greater accuracy, we could add an onDrawListener instead of a preDrawListener but:
// - single use onDrawListeners are not built-in and it's non-trivial to write one // - single use onDrawListeners are not built-in and it's non-trivial to write one
// - the difference is timing is minimal (< 7ms on Pixel 2) // - the difference in timing is minimal (< 7ms on Pixel 2)
// - if we compare against another app using a preDrawListener, it should be comparable // - if we compare against another app using a preDrawListener, it should be comparable
// //
// Unfortunately, this is tightly coupled to the root view of HomeActivity's view hierarchy // Unfortunately, this is tightly coupled to the root view of HomeActivity's view hierarchy
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment