Checking the application loading speed on Android device

78
April 28, 2022, at 7:30 PM

I have some web development experiences and today I started learning Flutter. I made a really basic app, that displays a time in different countries. It loads very fast, but I want to see how long it takes to open. I found a lot of tutorials about how to do this but I don't understand them. I want to compare the results of my app with results of other apps on my phone, so if you know some apps to test load speed pls send me a link or explain how to do it in another way.

Answer 1

What you're looking for is time to initial display. Time to initial display

ActivityManager: Displayed com.android.myexample/.StartupTiming: +3s534ms (total +1m22s643ms)

Open your logs and filter by Displayed

I dunno what the flutter counterpart is but since it's an activity you're opening it should be the same.

The other way is using Systrace and Perfetto.

Medium Article on systrace and Perfetto

Rent Charter Buses Company
READ ALSO
Difference between buffers in Kotlin flow

Difference between buffers in Kotlin flow

As far as I know there are three types of buffers in Kotlin flow: Buffer, Conflate and CollectLatest and I'm having trouble figuring out the differences between these three terminal operators

128
service crash with "Context.startForegroundService() did not then call Service.startForeground()"

service crash with "Context.startForegroundService() did not then call Service.startForeground()"

Hello friendsI use this code inside the service for the pedometer service and I will encounter the following error

177
Dowload Media in Download directory in android app

Dowload Media in Download directory in android app

Am trying to download media file from server to android default Downloads directory,but on storing the media in downloads i got exception javaio

92