Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is mobile web app performance slow compared to native app?

It is said that if we want our mobile apps to have high performance, we should go for native apps. What is the reason for the same? I mean why do web apps have slower performance compared to native apps?

Is it only because of loading time from server? In the case of large data, that can be true. But what are the other cases ?

like image 369
copenndthagen Avatar asked Sep 20 '25 07:09

copenndthagen


1 Answers

Native apps will be compiled where as webapps will be interpreted.

On desktop class machines, JIT compilation will improve the speed of JavaScript applications but on mobile devices, the cost of the JIT in terms of CPU and power may be prohibitive. However, as power management improves, the expense of the JIT drops and on device compilation of javascript becomes an option. This has can be seen in the kitkat release of android where the Chrome Browser and the V8 Javascript engine are used in the default WebView

like image 140
Robert Christie Avatar answered Sep 21 '25 23:09

Robert Christie