What is the best way to profile a mobile web application?

I am looking for a profile of my Android web application to run ... What is the best way to get information about what a tool like Web Inspector will give me on the desktop? Since I cannot use Web Inspector or Speed โ€‹โ€‹Tracer on a mobile device ... how can I get such data / information?

+3
source share
2 answers

I would use split lap timer in one hand and download the Android application with the second. Update a few times, and then calculate the average. This should give a good estimate of the start time. Do not joke .

Does your web application affect Javascript? Or is it server-side intensive, or perhaps both? Network latencies may vary, so itโ€™s best not to take this into account when profiling. Instead, profile the server side separately, which will give you a clear assessment of how quickly the response is generated. Android uses Webkit, so the web inspector should give you a pretty good idea of โ€‹โ€‹how Javascript will work on your Android device. You can also check the v8 test suite on your device.. Like these test suites, you can write your own performance tests specific to your web application. There will be many things that can affect those benchmarks that are out of your control, so keep this in mind when writing these tests.

+1
source

You can use WebDevTools for Android: https://play.google.com/store/apps/details?id=com.voltcode.webdevtools

This is a web profiler that provides basic information on how a mobile web page is loaded onto a device. Download time can and often varies for each device / equipment manufacturer - this is due to the internal HTTP settings and loading, processing and execution of javascript at different speeds.

.

+1

Source: https://habr.com/ru/post/1736042/


All Articles