Swift Firebase Analytics应用程序运行缓慢

Swift Firebase Analytics应用程序运行缓慢,swift,firebase-analytics,Swift,Firebase Analytics,我有一个应用程序的问题,当打电话到UIAlert时,它会变慢。警报显示需要几秒钟,反应需要几秒钟。与此同时,我在下面复制了大量涉及计时器的Firebase/Analytics呼叫。有人对可能发生的事情有什么想法或建议吗?我正在运行最新的Firebase和Swift版本 2017-09-03 20:23:41.628 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS031006] View controller already tracke

我有一个应用程序的问题,当打电话到UIAlert时,它会变慢。警报显示需要几秒钟,反应需要几秒钟。与此同时,我在下面复制了大量涉及计时器的Firebase/Analytics呼叫。有人对可能发生的事情有什么想法或建议吗?我正在运行最新的Firebase和Swift版本

2017-09-03 20:23:41.628 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS031006] View controller already tracked. Class, ID: MyApp.ViewController, 9XXXXXXXXXXXXXXXX0
2017-09-03 20:23:45.678 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS031010] Tracking view controller. Class, ID: UIAlertController, 9XXXXXXXXXXXXXXXX1
2017-09-03 20:23:45.678 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS033003] Scheduling user engagement timer
2017-09-03 20:23:45.679 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002003] Engagement timer canceled
2017-09-03 20:23:45.679 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2017-09-03 20:23:45.728 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX0;
        engagement_time_msec (_et) = 41483;
        firebase_screen_class (_sc) = MyApp.ViewController;
        firebase_event_origin (_o) = auto;
    }
2017-09-03 20:23:45.729 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX0;
        engagement_time_msec (_et) = 41483;
        firebase_screen_class (_sc) = MyApp.ViewController;
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_debug (_dbg) = 1;
    }
2017-09-03 20:23:45.782 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX0;
        engagement_time_msec (_et) = 41483;
        firebase_screen_class (_sc) = MyApp.ViewController;
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_debug (_dbg) = 1;
    }
2017-09-03 20:23:45.784 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): 0.8859719038009644
2017-09-03 20:23:45.784 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): 0.8859719038009644
2017-09-03 20:23:45.784 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, screen_view (_vs), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        firebase_previous_class (_pc) = MyApp.ViewController;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_event_origin (_o) = auto;
        firebase_previous_id (_pi) = 9XXXXXXXXXXXXXXXX0;
    }
2017-09-03 20:23:45.785 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: screen_view (_vs), {
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_debug (_dbg) = 1;
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        firebase_previous_class (_pc) = MyApp.ViewController;
        firebase_previous_id (_pi) = 9XXXXXXXXXXXXXXXX0;
    }
2017-09-03 20:23:45.802 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: screen_view (_vs), {
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_debug (_dbg) = 1;
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        firebase_previous_class (_pc) = MyApp.ViewController;
        firebase_previous_id (_pi) = 9XXXXXXXXXXXXXXXX0;
    }
2017-09-03 20:23:45.802 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023027] Do not schedule an upload task. Task already exists. Will be executed in seconds: 0.8794739246368408
2017-09-03 20:23:46.778 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002001] Measurement timer fired
2017-09-03 20:23:46.778 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2017-09-03 20:23:46.779 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023033] Starting data upload
2017-09-03 20:23:46.781 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX0;
        engagement_time_msec (_et) = 41483;
        firebase_screen_class (_sc) = MyApp.ViewController;
        firebase_realtime (_r) = 1;
        firebase_debug (_dbg) = 1;
        firebase_event_origin (_o) = auto;
    }
2017-09-03 20:23:46.829 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: screen_view (_vs), {
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_debug (_dbg) = 1;
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        firebase_previous_class (_pc) = MyApp.ViewController;
        firebase_previous_id (_pi) = 9XXXXXXXXXXXXXXXX0;
    }
2017-09-03 20:23:46.878 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 429
2017-09-03 20:23:46.880 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 1008, 1504463025670
2017-09-03 20:23:46.979 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023038] Uploading events. Elapsed time since last successful upload (s): 40.90037298202515
2017-09-03 20:23:46.982 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data: 1504463026979, <FIRAPBMeasurementBatch: 0x608000015a50>
2017-09-03 20:23:46.984 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a
2017-09-03 20:23:47.091 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a
2017-09-03 20:23:47.149 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, -1
2017-09-03 20:23:47.153 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -0.4830329418182373
2017-09-03 20:23:47.154 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -0.4830329418182373
2017-09-03 20:23:47.279 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023024] No data to upload. Upload task will not be scheduled
2017-09-03 20:23:47.279 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002003] Measurement timer canceled
cancel action: <UIAlertAction: 0x608000304b60 Title = "Yes" Descriptive = "(null)" Image = 0x0>
2017-09-03 20:23:50.528 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS031010] Tracking view controller. Class, ID: MyApp.ViewController, 9XXXXXXXXXXXXXXXX0
init nua: (1293.40002441406, 343.466674804688)
2017-09-03 20:23:50.530 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS033003] Scheduling user engagement timer
2017-09-03 20:23:50.531 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002003] Engagement timer canceled
2017-09-03 20:23:50.532 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2017-09-03 20:23:50.533 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        engagement_time_msec (_et) = 4847;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_event_origin (_o) = auto;
    }
2017-09-03 20:23:50.533 MyApp[32419] <Debug> [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: user_engagement (_e), {
        firebase_screen_id (_si) = 9XXXXXXXXXXXXXXXX1;
        engagement_time_msec (_et) = 4847;
        firebase_screen_class (_sc) = UIAlertController;
        firebase_event_origin (_o) = auto;
        firebase_realtime (_r) = 1;
        firebase_debug (_dbg) = 1;
    }
2017-09-03 20:23:41.628 MyApp[32419][Firebase/Analytics][I-ACS031006]视图控制器已被跟踪。类,ID:MyApp.ViewController,9xxxxxxxxxxxxxxx
2017-09-03 20:23:45.678 MyApp[32419][Firebase/Analytics][I-ACS031010]跟踪视图控制器。类,ID:UIAlertController,9xxxxxxxxxxxxxxx1
2017-09-03 20:23:45.678 MyApp[32419][Firebase/Analytics][I-ACS033003]计划用户参与计时器
2017-09-03 20:23:45.679 MyApp[32419][Firebase/Analytics][I-ACS002003]订婚计时器已取消
2017-09-03 20:23:45.679我的应用程序[32419][Firebase/Analytics][I-ACS00202]预定在大约(秒)内启动的启动计时器:3600
2017-09-03 20:23:45.728 MyApp[32419][Firebase/Analytics][I-ACS023051]记录事件:来源、名称、参数:自动、用户参与{
firebase_屏幕_id(_si)=9xxxxxxxxxxxxxx0;
啮合时间毫秒(_et)=41483;
firebase_screen_class(_sc)=MyApp.ViewController;
firebase_事件_原点(_o)=自动;
}
2017-09-03 20:23:45.729 MyApp[32419][Firebase/Analytics][I-ACS023073]调试模式已启用。将事件标记为调试和实时。事件名称、参数:用户参与(e){
firebase_屏幕_id(_si)=9xxxxxxxxxxxxxx0;
啮合时间毫秒(_et)=41483;
firebase_screen_class(_sc)=MyApp.ViewController;
firebase_事件_原点(_o)=自动;
firebase_realtime(_r)=1;
firebase_debug(_dbg)=1;
}
2017-09-03 20:23:45.782 MyApp[32419][Firebase/Analytics][I-ACS023072]事件已记录。事件名称、事件参数:用户参与(_e){
firebase_屏幕_id(_si)=9xxxxxxxxxxxxxx0;
啮合时间毫秒(_et)=41483;
firebase_screen_class(_sc)=MyApp.ViewController;
firebase_事件_原点(_o)=自动;
firebase_realtime(_r)=1;
firebase_debug(_dbg)=1;
}
2017-09-03 20:23:45.784 MyApp[32419][Firebase/Analytics][I-ACS00202]计划在大约(s)内启动的测量计时器:0.8859719038009644
2017-09-03 20:23:45.784 MyApp[32419][Firebase/Analytics][I-ACS023028]上传任务计划在大约(秒)内执行:0.8859719038009644
2017-09-03 20:23:45.784 MyApp[32419][Firebase/Analytics][I-ACS023051]记录事件:来源、名称、参数:自动、屏幕视图{
firebase屏幕id(_si)=9xxxxxxxxxxxxxxxxx1;
firebase_上一个_类(_pc)=MyApp.ViewController;
firebase_screen_class(_sc)=UIAlertController;
firebase_事件_原点(_o)=自动;
firebase_先前的_id(_pi)=9xxxxxxxxxxxxxx0;
}
2017-09-03 20:23:45.785 MyApp[32419][Firebase/Analytics][I-ACS023073]调试模式已启用。将事件标记为调试和实时。事件名称、参数:屏幕视图(vs){
firebase_事件_原点(_o)=自动;
firebase_realtime(_r)=1;
firebase_screen_class(_sc)=UIAlertController;
firebase_debug(_dbg)=1;
firebase屏幕id(_si)=9xxxxxxxxxxxxxxxxx1;
firebase_上一个_类(_pc)=MyApp.ViewController;
firebase_先前的_id(_pi)=9xxxxxxxxxxxxxx0;
}
2017-09-03 20:23:45.802 MyApp[32419][Firebase/Analytics][I-ACS023072]事件已记录。事件名称、事件参数:屏幕视图(_-vs){
firebase_事件_原点(_o)=自动;
firebase_realtime(_r)=1;
firebase_screen_class(_sc)=UIAlertController;
firebase_debug(_dbg)=1;
firebase屏幕id(_si)=9xxxxxxxxxxxxxxxxx1;
firebase_上一个_类(_pc)=MyApp.ViewController;
firebase_先前的_id(_pi)=9xxxxxxxxxxxxxx0;
}
2017-09-03 20:23:45.802 MyApp[32419][Firebase/Analytics][I-ACS023027]不安排上传任务。任务已存在。将在秒内执行:0.8794739246368408
2017-09-03 20:23:46.778 MyApp[32419][Firebase/Analytics][I-ACS002001]测量计时器启动
2017-09-03 20:23:46.778 MyApp[32419][Firebase/Analytics][I-ACS002003]测量计时器已取消
2017-09-03 20:23:46.779 MyApp[32419][Firebase/Analytics][I-ACS023033]开始上传数据
2017-09-03 20:23:46.781 MyApp[32419][Firebase/Analytics][I-ACS023105]事件不受实时事件计数日限制。将事件标记为实时事件。事件名称、参数:用户参与(e){
firebase_屏幕_id(_si)=9xxxxxxxxxxxxxx0;
啮合时间毫秒(_et)=41483;
firebase_screen_class(_sc)=MyApp.ViewController;
firebase_realtime(_r)=1;
firebase_debug(_dbg)=1;
firebase_事件_原点(_o)=自动;
}
2017-09-03 20:23:46.829 MyApp[32419][Firebase/Analytics][I-ACS023105]事件不受实时事件计数日限制。将事件标记为实时事件。事件名称、参数:屏幕视图(vs){
firebase_事件_原点(_o)=自动;
firebase_realtime(_r)=1;
firebase_screen_class(_sc)=UIAlertController;
firebase_debug(_dbg)=1;
firebase屏幕id(_si)=9xxxxxxxxxxxxxxxxx1;
firebase_上一个_类(_pc)=MyApp.ViewController;
firebase_先前的_id(_pi)=9xxxxxxxxxxxxxx0;
}
2017-09-03 20:23:46.878 MyApp[32419][Firebase/Analytics][I-ACS012018]保存捆绑包。大小(字节):429
2017-09-03 20:23:46.880 MyApp[32419][Firebase/Analytics][I-ACS023116]捆绑已添加到上载队列。BundleID,时间戳(毫秒):10081504463025670
2017-09-03 20:23:46.979 MyApp[32419][Firebase/Analytics][I-ACS023038]上传事件。自上次成功上载以来经过的时间:40.90037298202515
2017-09-03 20:23:46.982 MyApp[32419][Firebase/Analytics][I-ACS023039]测量数据发送至