are distributed • Compilation behavior • What’s the baseline profiler • What’s the advantage of the baseline profiler • How to generate a baseline profiler
are distributed • Compilation behavior • What’s the baseline profiler • What’s the advantage of the baseline profiler • How to generate a baseline profiler • Measure the app performance after using the baseline profiler
• Compose can be update independently from any specific version of Androïd • Devices running old version of Android can easily used last compose feature
library need to be loaded • Need to be interpreted when a feature is needed • The view system is part of the Android system and no need to be compiled before being used
process cold start) : Slow • Eventual Performance (After the runtime) : Fast - The JIT will discover hot part and optimized them - Those optimization will disappear when the process died Android 2.2 Froyo : Interpreted + JIT
process cold start) : Slow • Eventual Performance (After the runtime) : Fast - The JIT will discover hot part and optimized them - Those optimization will disappear when the process died • Disk Size (Optimization disappear when the process died) : Small Android 2.2 Froyo : Interpreted + JIT
process cold start) : Fast • Eventual Performance (After the runtime) : Fast • Disk Size (Lot of optimizations) : Large Android 5 Lollipop : Full AOT (Ahead of Time Compilation)
Start the activity and wait until // The first frame of your activity is rendered startActivityAndWait() device.wait(Until.hasObject(By.res("feed")), 5000) }
Start the activity and wait until // The first frame of your activity is rendered startActivityAndWait() device.wait(Until.hasObject(By.res("feed")), 5000) val feed = device.findObject(By.res("feed")) }
Start the activity and wait until // The first frame of your activity is rendered startActivityAndWait() device.wait(Until.hasObject(By.res("feed")), 5000) val feed = device.findObject(By.res("feed")) feed.fling.(Direction.DOWN) }
baseline profiles, it’ll be merged by the one from the application • Upload it to the playstore so other applications can take advantage of it. • It can be distributed
baseline profiles, it’ll be merged by the one from the application • Upload it to the playstore so other applications can take advantage of it. • It can be distributed