Cold starts ran unoptimised: no profileinstaller dependency and no profile in the bundle, so ART interpreted Compose on first launch (class verification measured at 128 bytecodes/s in an emulator ANR). Add the androidx.baselineprofile producer module with an AOSP managed device, a generator covering startup plus the four detail tabs, and commit the generated baseline and startup profiles.
183 lines
16 KiB
Plaintext
183 lines
16 KiB
Plaintext
INFORMATION: Constructing runner from config.
|
|
INFORMATION: Configuring Android Instrumentation driver: android_instrumentation_runtime {
|
|
instrumentation_info {
|
|
app_package: "app.voltplan.cable"
|
|
test_package: "app.voltplan.cable.baselineprofile"
|
|
test_runner_class: "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
instrumentation_args {
|
|
args_map {
|
|
key: "additionalTestOutputDir"
|
|
value: "/sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output"
|
|
}
|
|
args_map {
|
|
key: "androidx.benchmark.enabledRules"
|
|
value: "baselineprofile"
|
|
}
|
|
args_map {
|
|
key: "androidx.benchmark.targetPackageName"
|
|
value: "app.voltplan.cable"
|
|
}
|
|
}
|
|
}
|
|
am_instrument_timeout: 31536000
|
|
|
|
INFORMATION: Configuring AndroidTestApkInstallerPlugin: apks_to_install {
|
|
apk_paths: "/Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/app/build/outputs/apk/nonMinifiedRelease/app-nonMinifiedRelease.apk"
|
|
install_options {
|
|
}
|
|
uninstall_after_test: true
|
|
force_reinstall_before_test: true
|
|
}
|
|
apks_to_install {
|
|
apk_paths: "/Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/apk/nonMinifiedRelease/baselineprofile-nonMinifiedRelease.apk"
|
|
install_options {
|
|
}
|
|
uninstall_after_test: true
|
|
force_reinstall_before_test: true
|
|
}
|
|
|
|
INFORMATION: No installables found in test fixture. Nothing to install.
|
|
INFORMATION: Launching Emulator (Attempt 1)
|
|
INFORMATION: INFO | Android emulator version 37.1.11.0 (build_id 15917651) (CL:N/A)
|
|
INFORMATION: INFO | Graphics backend: gfxstream
|
|
INFORMATION: INFO | Found systemPath /opt/homebrew/share/android-commandlinetools/system-images/android-34/default/arm64-v8a/
|
|
INFORMATION: Finding a test device :baselineprofile:pixel6Api34NonMinifiedReleaseAndroidTest (attempt 1 of 20).
|
|
Found 0 devices:
|
|
|
|
INFORMATION: WARNING | Malformed memory size '0' for key 'vm.heapSize'. Only integer values between 1MB and 1TB (with optional KB, MB, GB, TB suffixes) are supported. Falling back to default value: 0
|
|
INFORMATION: INFO | Increasing RAM size to 2560MB
|
|
INFORMATION: INFO | Guest GLES Driver: Auto (ext controls)
|
|
INFORMATION: ERROR | gpuChoiceBasedOnGpuOptions: Selected GPU option 'auto-no-window' is not valid, switching to 'auto' mode.
|
|
INFORMATION: INFO | emuglConfig_init: vulkan_mode_selected:lavapipe gles_mode_selected:swangle
|
|
INFORMATION: INFO | Checking system compatibility:
|
|
INFORMATION: INFO | Checking: hasSufficientDiskSpace
|
|
INFORMATION: INFO | Ok: Disk space requirements to run avd: `dev34_default_arm64-v8a_Pixel_6` are met
|
|
INFORMATION: INFO | Checking: hasSufficientHwGpu
|
|
INFORMATION: INFO | Ok: Hardware GPU compatibility checks are not required
|
|
INFORMATION: INFO | Checking: hasSufficientSystem
|
|
INFORMATION: INFO | Ok: System requirements to run avd: `dev34_default_arm64-v8a_Pixel_6` are met
|
|
INFORMATION: INFO | Storing crashdata in: /tmp/android-lange-hegermann/emu-crash-37.1.11.db, detection is enabled for process: 14304
|
|
INFORMATION: INFO | Initializing gfxstream backend
|
|
INFORMATION: INFO | startOpenglesRendererImpl: gpu info
|
|
INFORMATION: INFO |
|
|
INFORMATION: INFO | initIcdPaths: ICD set to 'lavapipe', using Lavapipe ICD
|
|
INFORMATION: INFO | Setting ICD filenames for the loader = /opt/homebrew/share/android-commandlinetools/emulator/lib64/vulkan/lvp_icd.json
|
|
INFORMATION: INFO | SharedLibrary::open for [/opt/homebrew/share/android-commandlinetools/emulator/qemu/darwin-aarch64/lib64/vulkan/libvulkan.dylib]
|
|
INFORMATION: INFO | Added library: /opt/homebrew/share/android-commandlinetools/emulator/qemu/darwin-aarch64/lib64/vulkan/libvulkan.dylib
|
|
INFORMATION: INFO | Enabling Vulkan portability.
|
|
INFORMATION: INFO | Selecting Vulkan device: llvmpipe (LLVM 21.1.4, 128 bits), Version: 1.4.330
|
|
INFORMATION: INFO | Using Vulkan externalMemoryMode: OpaqueFd for VkEmulation
|
|
INFORMATION: INFO | Initializing VkEmulation features:
|
|
INFORMATION: INFO | glInteropSupported: false
|
|
INFORMATION: INFO | useDeferredCommands: true
|
|
INFORMATION: INFO | createResourceWithRequirements: true
|
|
INFORMATION: INFO | useVulkanComposition: false
|
|
INFORMATION: INFO | useVulkanNativeSwapchain: false
|
|
INFORMATION: INFO | enable guestRenderDoc: false
|
|
INFORMATION: INFO | ASTC LDR emulation mode: Gpu
|
|
INFORMATION: INFO | enable ETC2 emulation: true
|
|
INFORMATION: INFO | enable Ycbcr emulation: false
|
|
INFORMATION: INFO | guestVulkanOnly: false
|
|
INFORMATION: INFO | useDedicatedAllocations: false
|
|
INFORMATION: INFO | guestVulkanMaxApiVersion: 1.3.0
|
|
INFORMATION: INFO | enableProtectedMemoryEmulation: false
|
|
INFORMATION: INFO | Graphics Adapter Vendor Google (Google Inc. (Google))
|
|
INFORMATION: INFO | Graphics Adapter Android Emulator OpenGL ES Translator (ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0) (0x0000C0DE)), SwiftShader driver-5.0.0))
|
|
INFORMATION: INFO | Graphics API Version OpenGL ES 3.0 (OpenGL ES 3.1.0 (ANGLE 2.1.1 git hash: fbf66f49c7cc))
|
|
INFORMATION: INFO | Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_standard_derivatives GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_OVR_multiview2 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_EXT_draw_buffers_indexed GL_EXT_clip_cull_distance
|
|
INFORMATION: INFO | Graphics Device Extensions N/A
|
|
INFORMATION: INFO | Disabling sparse binding feature support
|
|
INFORMATION: INFO | Sending adb public key [QAAAAGl8t1gnLBrQxvnhIUGEOeJuYjbCP+IvgMr2fCJGAGJn9GBQ74LqAe9UjytdeOWoUHebKAsTZwzpqO8+qasIwGgyGWcCXyo5cDL+gmEPguxxtyW3SNf54AmYl/ObtME4CzEBUiM9t5TdXPb22rDSqZ3vgGW+z3tkSCErxequkWp1iWLZFVeV5NvJtVlLf5ExAsWu2pWNo6SBVpsQ6uwvQEMmqq/KpRKPhLJ6IE0mjzBYJZAgCUdEJ7DBteEsn2QXsoEMGfJ/CoB/Pgtx/vpQp0IFNpWzE2Wj1p3y/gnKmAj7CF8l2DNpmL/xZ9LkYFFToArZQsdp4ocPEVIuriXERJ3CEc+kq6TKt/2erS0Mfkq+Sg1FBq59hjwN3H3W2I9+pwPoC9mt/p1txc+KEeFRf3ZKrXCOPTHg46dD4UP+/K+aSQ78qO8n8tyvFvYZ8pQ7Ml8OWY3OPLKD8zuFiCG5wHr0AAuMi3wCfJ3qi5Vf6WMsEhDmQm7blCVGNGnTGmECmOQ0VLfyPCSfSHdQ41Yu5sPUmqQZ+bmV9Lg0dMKo//1znIIqy1DsowvFs0HLYeHccmJw43Kp76/IRoVJzdJzgsr3aSutV/bhcOa7jmF0Nfxp5lXBNXSqKFodKS7yyxOVTN5OEdaTjTkwKFbTFyS61gV9jy24mQwKCFiUzAQCM0DUBNFZZwEAAQA= lange-hegermann@unknown]
|
|
INFORMATION: INFO | Userspace boot properties:
|
|
INFORMATION: INFO | androidboot.boot_devices=a003600.virtio_mmio
|
|
INFORMATION: INFO | androidboot.dalvik.vm.heapsize=576m
|
|
INFORMATION: INFO | androidboot.debug.hwui.renderer=skiagl
|
|
INFORMATION: INFO | androidboot.debug.sf.nobootanimation=1
|
|
INFORMATION: INFO | androidboot.hardware=ranchu
|
|
INFORMATION: INFO | androidboot.hardware.gltransport=pipe
|
|
INFORMATION: INFO | androidboot.hardware.vulkan=ranchu
|
|
INFORMATION: INFO | androidboot.logcat=*:V
|
|
INFORMATION: INFO | androidboot.opengles.version=196609
|
|
INFORMATION: INFO | androidboot.qemu=1
|
|
INFORMATION: INFO | androidboot.qemu.adb.pubkey=QAAAAGl8t1gnLBrQxvnhIUGEOeJuYjbCP+IvgMr2fCJGAGJn9GBQ74LqAe9UjytdeOWoUHebKAsTZwzpqO8+qasIwGgyGWcCXyo5cDL+gmEPguxxtyW3SNf54AmYl/ObtME4CzEBUiM9t5TdXPb22rDSqZ3vgGW+z3tkSCErxequkWp1iWLZFVeV5NvJtVlLf5ExAsWu2pWNo6SBVpsQ6uwvQEMmqq/KpRKPhLJ6IE0mjzBYJZAgCUdEJ7DBteEsn2QXsoEMGfJ/CoB/Pgtx/vpQp0IFNpWzE2Wj1p3y/gnKmAj7CF8l2DNpmL/xZ9LkYFFToArZQsdp4ocPEVIuriXERJ3CEc+kq6TKt/2erS0Mfkq+Sg1FBq59hjwN3H3W2I9+pwPoC9mt/p1txc+KEeFRf3ZKrXCOPTHg46dD4UP+/K+aSQ78qO8n8tyvFvYZ8pQ7Ml8OWY3OPLKD8zuFiCG5wHr0AAuMi3wCfJ3qi5Vf6WMsEhDmQm7blCVGNGnTGmECmOQ0VLfyPCSfSHdQ41Yu5sPUmqQZ+bmV9Lg0dMKo//1znIIqy1DsowvFs0HLYeHccmJw43Kp76/IRoVJzdJzgsr3aSutV/bhcOa7jmF0Nfxp5lXBNXSqKFodKS7yyxOVTN5OEdaTjTkwKFbTFyS61gV9jy24mQwKCFiUzAQCM0DUBNFZZwEAAQA= lange-hegermann@unknown
|
|
INFORMATION: INFO | androidboot.qemu.avd_name=dev34_default_arm64-v8a_Pixel_6
|
|
INFORMATION: INFO | androidboot.qemu.camera_hq_edge_processing=0
|
|
INFORMATION: INFO | androidboot.qemu.camera_protocol_ver=1
|
|
INFORMATION: INFO | androidboot.qemu.cpuvulkan.version=4206592
|
|
INFORMATION: INFO | androidboot.qemu.gltransport.drawFlushInterval=800
|
|
INFORMATION: INFO | androidboot.qemu.gltransport.name=pipe
|
|
INFORMATION: INFO | androidboot.qemu.hwcodec.avcdec=2
|
|
INFORMATION: INFO | androidboot.qemu.hwcodec.hevcdec=2
|
|
INFORMATION: INFO | androidboot.qemu.hwcodec.vpxdec=2
|
|
INFORMATION: INFO | androidboot.qemu.settings.system.screen_off_timeout=2147483647
|
|
INFORMATION: INFO | androidboot.qemu.skin=1080x2400
|
|
INFORMATION: INFO | androidboot.qemu.virtiowifi=1
|
|
INFORMATION: INFO | androidboot.qemu.vsync=60
|
|
INFORMATION: INFO | androidboot.serialno=EMULATOR37X1X11X0
|
|
INFORMATION: INFO | androidboot.vbmeta.digest=253e1a8d74ff31dd7324224f982d55a240cf2b89826fb32d7a43e607345f98e3
|
|
INFORMATION: INFO | androidboot.vbmeta.hash_alg=sha256
|
|
INFORMATION: INFO | androidboot.vbmeta.size=6656
|
|
INFORMATION: INFO | androidboot.veritymode=enforcing
|
|
INFORMATION: INFO | Monitoring duration of emulator setup.
|
|
INFORMATION: WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port
|
|
INFORMATION: INFO | Using security allow list from: /opt/homebrew/share/android-commandlinetools/emulator/lib/emulator_access.json
|
|
INFORMATION: INFO | The active JSON Web Key Sets can be found here: /Users/lange-hegermann/Library/Caches/TemporaryItems/avd/running/14304/jwks/b05a98f9-557f-4f4d-992f-747f5dd0ba1e/active.jwk
|
|
INFORMATION: INFO | Scanning /Users/lange-hegermann/Library/Caches/TemporaryItems/avd/running/14304/jwks/b05a98f9-557f-4f4d-992f-747f5dd0ba1e for jwk keys.
|
|
INFORMATION: INFO | Started GRPC server at 127.0.0.1:8554, security: Local, auth: +token
|
|
INFORMATION: INFO | Advertising in: /Users/lange-hegermann/Library/Caches/TemporaryItems/avd/running/pid_14304.ini
|
|
INFORMATION: Finding a test device :baselineprofile:pixel6Api34NonMinifiedReleaseAndroidTest (attempt 2 of 20).
|
|
Found 0 devices:
|
|
|
|
INFORMATION: INFO | Successfully initialized netsim WiFi
|
|
INFORMATION: INFO | Activated packet streamer for bluetooth emulation
|
|
INFORMATION: INFO | Setting display: 0 configuration to: 1080x2400, dpi: 420x420
|
|
INFORMATION: INFO | setDisplayActiveConfig: id:0, 1080x2400
|
|
INFORMATION: INFO | emulatorSetupEnvironment: Environment scene is not required
|
|
INFORMATION: INFO | Loading snapshot 'default_boot'...
|
|
INFORMATION: INFO | Successfully loaded snapshot 'default_boot' using 909 ms
|
|
INFORMATION: Finding a test device :baselineprofile:pixel6Api34NonMinifiedReleaseAndroidTest (attempt 3 of 20).
|
|
Found 1 devices:
|
|
:baselineprofile:pixel6Api34NonMinifiedReleaseAndroidTest(emulator-5554)
|
|
INFORMATION: sys.boot_completed=1 (emulator-5554)
|
|
INFORMATION: dev.bootcomplete=1 (emulator-5554)
|
|
INFORMATION: Package Manager is ready (emulator-5554)
|
|
WARNUNG: Line '[persist.sys.boot.reason.history]: [reboot,factory_reset,1786535254' doesnt match regexp '^\[([\w.\-]+)\]:\s\[(.*)\]$'. Discarding.
|
|
WARNUNG: Line 'reboot,1786535246]' doesnt match regexp '^\[([\w.\-]+)\]:\s\[(.*)\]$'. Discarding.
|
|
INFORMATION: Installing [/Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/app/build/outputs/apk/nonMinifiedRelease/app-nonMinifiedRelease.apk] on device emulator-5554.
|
|
INFORMATION: Installing [/Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/apk/nonMinifiedRelease/baselineprofile-nonMinifiedRelease.apk] on device emulator-5554.
|
|
INFORMATION: Start logcat streaming.
|
|
INFORMATION: Running Android Instrumentation driver.
|
|
INFORMATION: ERROR | Failed to find ColorBuffer: 11
|
|
INFORMATION: ERROR | Failed to find ColorBuffer: 141
|
|
INFORMATION: ERROR | Failed to find ColorBuffer: 241
|
|
INFORMATION: Copying files from device to host: /sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output to /Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/managed_device_android_test_additional_output/nonminifiedrelease/pixel6Api34
|
|
INFORMATION: Copying /sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generate-baseline-prof-2026-08-12-11-56-20.txt to /Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/managed_device_android_test_additional_output/nonminifiedrelease/pixel6Api34/BaselineProfileGenerator_generate-baseline-prof-2026-08-12-11-56-20.txt
|
|
WARNUNG: Adb call failed.
|
|
Exit code: 1
|
|
Command: /opt/homebrew/share/android-commandlinetools/platform-tools/adb -H localhost -P 5037 -s emulator-5554 shell [[ -d "/sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generate-baseline-prof-2026-08-12-11-56-20.txt" ]]
|
|
Timeout: PT2M
|
|
INFORMATION: Copying /sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generate-baseline-prof.txt to /Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/managed_device_android_test_additional_output/nonminifiedrelease/pixel6Api34/BaselineProfileGenerator_generate-baseline-prof.txt
|
|
WARNUNG: Adb call failed.
|
|
Exit code: 1
|
|
Command: /opt/homebrew/share/android-commandlinetools/platform-tools/adb -H localhost -P 5037 -s emulator-5554 shell [[ -d "/sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generate-baseline-prof.txt" ]]
|
|
Timeout: PT2M
|
|
INFORMATION: Copying /sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generateStartupProfile-startup-prof-2026-08-12-11-54-24.txt to /Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/managed_device_android_test_additional_output/nonminifiedrelease/pixel6Api34/BaselineProfileGenerator_generateStartupProfile-startup-prof-2026-08-12-11-54-24.txt
|
|
WARNUNG: Adb call failed.
|
|
Exit code: 1
|
|
Command: /opt/homebrew/share/android-commandlinetools/platform-tools/adb -H localhost -P 5037 -s emulator-5554 shell [[ -d "/sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generateStartupProfile-startup-prof-2026-08-12-11-54-24.txt" ]]
|
|
Timeout: PT2M
|
|
INFORMATION: Copying /sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generateStartupProfile-startup-prof.txt to /Users/lange-hegermann/Documents/Development/ios-macos/Cable-Swift/Cable/android/baselineprofile/build/outputs/managed_device_android_test_additional_output/nonminifiedrelease/pixel6Api34/BaselineProfileGenerator_generateStartupProfile-startup-prof.txt
|
|
WARNUNG: Adb call failed.
|
|
Exit code: 1
|
|
Command: /opt/homebrew/share/android-commandlinetools/platform-tools/adb -H localhost -P 5037 -s emulator-5554 shell [[ -d "/sdcard/Android/media/app.voltplan.cable.baselineprofile/additional_test_output/BaselineProfileGenerator_generateStartupProfile-startup-prof.txt" ]]
|
|
Timeout: PT2M
|
|
INFORMATION: Stop logcat streaming.
|
|
INFORMATION: Uninstalling app.voltplan.cable for device emulator-5554.
|
|
INFORMATION: Uninstalling app.voltplan.cable.baselineprofile for device emulator-5554.
|
|
INFORMATION: Finding a test device :baselineprofile:pixel6Api34NonMinifiedReleaseAndroidTest (attempt 1 of 1).
|
|
Found 1 devices:
|
|
(emulator-5554)
|
|
INFORMATION: Execute app.voltplan.cable.baselineprofile.BaselineProfileGenerator.generateStartupProfile: PASSED
|
|
INFORMATION: Execute app.voltplan.cable.baselineprofile.BaselineProfileGenerator.generate: PASSED
|