android_startup { startup { startup_id: 0 cpu_count: 1 package_name: "com.google.android.calendar" process_name: "com.google.android.calendar" zygote_new_process: true to_first_frame { dur_ns: 108000000000 main_thread_by_task_state { running_dur_ns: 25000000000 runnable_dur_ns: 5000000000 uninterruptible_sleep_dur_ns: 0 interruptible_sleep_dur_ns: 0 uninterruptible_io_sleep_dur_ns: 0 uninterruptible_non_io_sleep_dur_ns: 0 } other_processes_spawned_count: 0 time_activity_manager { dur_ns: 8000000000 dur_ms: 8000.0 } time_bind_application { dur_ns: 2000000000 dur_ms: 2000.0 } time_activity_start { dur_ns: 1000000000 dur_ms: 1000.0 } time_activity_resume { dur_ns: 1000000000 dur_ms: 1000.0 } time_before_start_process { dur_ns: 18000000000 dur_ms: 18000.0 } time_during_start_process { dur_ns: 35000000000 dur_ms: 35000.0 } dur_ms: 108000.0 to_bind_application { dur_ns: 83000000000 dur_ms: 83000.0 } time_inflate { dur_ns: 2000000000 dur_ms: 2000.0 } time_get_resources { dur_ns: 1000000000 dur_ms: 1000.0 } mcycles_by_core_type { unknown: 103 } time_to_running_state { dur_ns: 78000000000 dur_ms: 78000.0 } } activity_hosting_process_count: 1 process { name: "com.google.android.calendar" uid: 10001 package { package_name: "com.google.android.calendar" apk_version_code: 123 debuggable: false } pid: 3 } activities { name: "com.google.android.calendar.MainActivity" method: "performCreate" ts_method_start: 188000000000 } activities { name: "com.google.android.calendar.MainActivity" method: "performResume" ts_method_start: 193000000000 } optimization_status { odex_status: "up-to-date" compilation_filter: "speed" compilation_reason: "install-dm" location: "/system/framework/oat/arm/com.google.android.calendar.odex" summary: "com.google.android.calendar.odex: up-to-date/speed/install-dm" } optimization_status { odex_status: "io-error-no-oat" compilation_filter: "run-from-apk" compilation_reason: "unknown" location: "error" summary: "error: io-error-no-oat/run-from-apk/unknown" } event_timestamps { intent_received: 102000000000 first_frame: 210000000000 } system_state { dex2oat_running: false installd_running: false broadcast_dispatched_count: 0 broadcast_received_count: 0 most_active_non_launch_processes: "init" most_active_non_launch_processes: "system_server" installd_dur_ns: 0 dex2oat_dur_ns: 0 } slow_start_reason: "No baseline or cloud profiles" slow_start_reason: "Optimized artifacts missing, run from apk" slow_start_reason: "Time spent in bindApplication" slow_start_reason: "Time spent in view inflation" slow_start_reason: "Time spent in ResourcesManager#getResources" slow_start_reason_with_details { reason_id: NO_BASELINE_OR_CLOUD_PROFILES reason: "No baseline or cloud profiles" severity: ERROR expected_value { value: 0 unit: TRUE_OR_FALSE } actual_value { value: 1 } launch_dur: 108000000000 trace_slice_sections { slice_section { start_timestamp: 204000000000 end_timestamp: 205000000000 slice_id: 13 slice_name: "location=/system/framework/oat/arm/com.google.android.calendar.odex status=up-to-date filter=speed reason=install-dm" process_pid: 3 thread_tid: 3 } start_timestamp: 204000000000 end_timestamp: 205000000000 } } slow_start_reason_with_details { reason_id: RUN_FROM_APK reason: "Optimized artifacts missing, run from apk" severity: ERROR expected_value { value: 0 unit: TRUE_OR_FALSE } actual_value { value: 1 } launch_dur: 108000000000 trace_slice_sections { slice_section { start_timestamp: 200000000000 end_timestamp: 202000000000 slice_id: 12 slice_name: "location=error status=io-error-no-oat filter=run-from-apk reason=unknown" process_pid: 3 thread_tid: 3 } start_timestamp: 200000000000 end_timestamp: 202000000000 } } slow_start_reason_with_details { reason_id: TIME_SPENT_IN_BIND_APPLICATION reason: "Time spent in bindApplication" severity: WARNING expected_value { value: 1250000000 unit: NS higher_expected: false } actual_value { value: 2000000000 } launch_dur: 108000000000 trace_slice_sections { slice_section { start_timestamp: 185000000000 end_timestamp: 187000000000 slice_id: 4 slice_name: "bindApplication" process_pid: 3 thread_tid: 3 } start_timestamp: 185000000000 end_timestamp: 187000000000 } } slow_start_reason_with_details { reason_id: TIME_SPENT_IN_VIEW_INFLATION reason: "Time spent in view inflation" severity: WARNING expected_value { value: 450000000 unit: NS higher_expected: false } actual_value { value: 2000000000 } launch_dur: 108000000000 trace_slice_sections { slice_section { start_timestamp: 188000000000 end_timestamp: 189000000000 slice_id: 6 slice_name: "inflate" process_pid: 3 thread_tid: 3 } slice_section { start_timestamp: 191000000000 end_timestamp: 192000000000 slice_id: 8 slice_name: "inflate" process_pid: 3 thread_tid: 3 } start_timestamp: 188000000000 end_timestamp: 192000000000 } } slow_start_reason_with_details { reason_id: TIME_SPENT_IN_RESOURCES_MANAGER_GET_RESOURCES reason: "Time spent in ResourcesManager#getResources" severity: WARNING expected_value { value: 130000000 unit: NS higher_expected: false } actual_value { value: 1000000000 } launch_dur: 108000000000 trace_slice_sections { slice_section { start_timestamp: 188000000000 end_timestamp: 189000000000 slice_id: 7 slice_name: "ResourcesManager#getResources" process_pid: 3 thread_tid: 3 } start_timestamp: 188000000000 end_timestamp: 189000000000 } } slow_start_reason_with_details { reason_id: POTENTIAL_CPU_CONTENTION_WITH_ANOTHER_PROCESS reason: "Potential CPU contention with another process" severity: WARNING expected_value { value: 100000000 unit: NS higher_expected: false } actual_value { value: 5000000000 } launch_dur: 108000000000 trace_thread_sections { thread_section { start_timestamp: 205000000000 end_timestamp: 210000000000 thread_name: "com.google.android.calendar" process_pid: 3 thread_tid: 3 } start_timestamp: 205000000000 end_timestamp: 210000000000 } } startup_type: "cold" } }