Created
June 5, 2020 05:23
-
-
Save paulproteus/5e0ba8863d8ed17caeee625ed148deff to your computer and use it in GitHub Desktop.
Launch timing log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ helloworld git:(master) /Users/asheesh/.briefcase/tools/android_sdk/platform-tools/adb logcat -s 'org.beeware.android.MainActivity.appLaunch' | |
--------- beginning of system | |
--------- beginning of crash | |
--------- beginning of main | |
06-04 22:21:58.201 8177 8177 D org.beeware.android.MainActivity.appLaunch: onCreate() start | |
06-04 22:21:58.413 8177 8177 D org.beeware.android.MainActivity.appLaunch: startPython() start | |
06-04 22:21:58.413 8177 8177 D org.beeware.android.MainActivity.appLaunch: unpackPython() start | |
06-04 22:21:58.413 8177 8177 D org.beeware.android.MainActivity.appLaunch: Unpacking Python with ABI x86 to /data/user/0/org.ash_eesh.helloworld/files/python/stdlib | |
06-04 22:22:00.652 8177 8177 D org.beeware.android.MainActivity.appLaunch: Unpacking rubicon-java to /data/user/0/org.ash_eesh.helloworld/files/python/rubicon-java | |
06-04 22:22:00.666 8177 8177 D org.beeware.android.MainActivity.appLaunch: Unpacking Python assets to base dir /data/user/0/org.ash_eesh.helloworld/files/python/user_code | |
06-04 22:22:00.996 8177 8177 D org.beeware.android.MainActivity.appLaunch: unpackPython() complete | |
06-04 22:22:00.996 8177 8177 D org.beeware.android.MainActivity.appLaunch: setPythonEnvVars() start | |
06-04 22:22:00.997 8177 8177 D org.beeware.android.MainActivity.appLaunch: setPythonEnvVars() complete | |
06-04 22:22:00.997 8177 8177 D org.beeware.android.MainActivity.appLaunch: Python.init() start | |
06-04 22:22:01.597 8177 8177 D org.beeware.android.MainActivity.appLaunch: Python.init() complete | |
06-04 22:22:01.598 8177 8177 D org.beeware.android.MainActivity.appLaunch: Python.run() start | |
06-04 22:22:02.867 8177 8177 D org.beeware.android.MainActivity.appLaunch: Python.run() end | |
06-04 22:22:02.867 8177 8177 D org.beeware.android.MainActivity.appLaunch: startPython() end | |
06-04 22:22:02.867 8177 8177 D org.beeware.android.MainActivity.appLaunch: user code onCreate() start | |
06-04 22:22:02.868 8177 8177 D org.beeware.android.MainActivity.appLaunch: user code onCreate() complete | |
06-04 22:22:02.868 8177 8177 D org.beeware.android.MainActivity.appLaunch: onCreate() complete | |
06-04 22:22:02.877 8177 8177 D org.beeware.android.MainActivity.appLaunch: onStart() start | |
06-04 22:22:02.877 8177 8177 D org.beeware.android.MainActivity.appLaunch: onStart() complete | |
06-04 22:22:02.878 8177 8177 D org.beeware.android.MainActivity.appLaunch: onResume() start | |
06-04 22:22:02.878 8177 8177 D org.beeware.android.MainActivity.appLaunch: onResume() complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rounded to the nearest 0.5 seconds, tested on my Android virtual device on my Mac Mini:
We seem to spend 2.5 seconds in
unpackPython()
.We seem to spend 0.5 seconds in
Python.init()
(not user code; basically rubicon-java).We seem to spend 1.5 seconds in
Python.run()
(user code plus toga-android, I believe).This is with a helloworld app that's basically identical to https://toga.readthedocs.io/en/latest/tutorial/tutorial-1.html