Skip to content

_app_start performance metric unreliable for iOS 15 #9026

@weibel

Description

@weibel

Step 1: Describe your environment

  • Xcode version: 12.5.1
  • Firebase SDK version: 8.9.1
  • Installation method: CocoaPods
  • Firebase Component: Performance
  • Target platform(s): iOS

Step 2: Describe the problem

The _app_start time reported by Firebase Performance varies wildly for all iOS versions >=15. It goes into thousands of seconds for the 95 percentile.

Steps to reproduce:

I only know the numbers from my own project and can not do much to reproduce.

My hypothesis is that this could be connected to the iOS 15 pre-warming, where initializers and other pre-main steps are run preemptively, potentially hours before the app is started and main() is run. My own custom metric is using the technique from https://eisel.me/startup and suffered from the same problem.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions