Bug P2
Status Update
Comments
ma...@google.com <ma...@google.com>
yd...@google.com <yd...@google.com>
yd...@google.com <yd...@google.com> #2
This functionality was released in benchmark 1.2.0-alpha06:
You'll need to use an Android 13 (API 33) emulator, and androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha06
, which removes the requirement for root, and thus works on Play emulator images.
gi...@gmail.com <gi...@gmail.com> #3 Restricted
Restricted
Comment has been deleted.
Description
STEPS TO REPRODUCE:
1. use debug startmethodtracing on fragment onResume
2. use debug stopmethodtracing on fragment onPause
3. open the file with android studio profiler
Output message: Unable to parse the trace file.
Beginning of the trace file:
*version
3
data-file-overflow=true
clock=dual
elapsed-time-usec=5916170
num-method-calls=599184
clock-call-overhead-nsec=380
vm=art
pid=31053
*threads
25712 Signal Catcher
25713 perfetto_hprof_listener
25716 ADB-JDWP Connection Control Thread
25717 Jit thread pool worker thread 0
25718 HeapTaskDaemon
25719 ReferenceQueueDaemon
25720 FinalizerDaemon
25721 FinalizerWatchdogDaemon
25722 binder:31053_1
25723 binder:31053_2
25725 binder:31053_3
25727 31053-ScoutStateMachine
25728 Profile Saver
25731 pool-2-thread-1
25732 Firebase-Messaging-Init
25733 Firebase-Messaging-Topics-Io
25735 ScionFrontendApi
25739 Crashlytics Exception Handler1
25742 com.google.firebase.crashlytics.startup1
25744 GmsDynamite
25745 awaitEvenIfOnMainThread task continuation executor1
25747 queued-work-looper
25750 WM.task-1
25752 Timer-0
25753 Timer-1
25754 Measurement Worker
25756 WM.task-2
25761 Chrome_ProcessLauncherThread
25763 GoogleApiHandler
25780 ThreadPoolForeg
25782 ThreadPoolForeg
25783 Chrome_IOThread
25792 ThreadPoolSingl
25793 PlatformServiceBridgeHandlerThread
25817 RealmFinalizingDaemon
25826 DefaultDispatcher-worker-1
25827 DefaultDispatcher-worker-2
25830 DefaultDispatcher-worker-TERMINATED
25831 ConnectivityThread
25854 DefaultDispatcher-worker-4
25855 DefaultDispatcher-worker-5
25856 DefaultDispatcher-worker-6
25857 DefaultDispatcher-worker-7
25858 DefaultDispatcher-worker-8
25859 DefaultDispatcher-worker-3
25861 OkHttp Dispatcher
25865 pool-16-thread-1
25866 pool-18-thread-1
25867 UrbanAirship#1
25876 arch_disk_io_0
25877 UrbanAirship#2
25880 UrbanAirship#3
25881 arch_disk_io_1
25882 UrbanAirship#4
25883 UrbanAirship#5
25884 arch_disk_io_2
25885 WM.task-3
25887 OkHttp ConnectionPool
25888 arch_disk_io_3
25889 WM.task-4
25891 RxSchedulerPurge-1
25892 RxCachedWorkerPoolEvictor-1
25915 Okio Watchdog
25917 RenderThread
25927 UrbanAirship#6
Note: I can't upload the whole trace because of NDA with our client.
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Version of Gradle Plugin: 7.2.2
Version of Gradle: 7.3.3
Version of Java:
OS: Android OS 13