Discourse mobile slow on 2013 Android phone

Hi,

I experienced some (for me serious delays) in the rendering performance. For example this thread in the syncthing forum: SSL Certs discovery v4 vs v6 - General - Syncthing Community Forum.

I use the chrome on samsung s4.

(screenshot of developer tools), rendertime ~11s, without js ~1s (at home over wlan)

Thx in advance!

I can be wrong but on a early 2013 phone, with 1.5GHz processor this is bad but kinda expected?

How is the timing loading meta.discourse.org and try.discourse.org ?

This phone has been 3years ago an high end phone. What is the phone distribution here on this site? Maybe there are less powerful phones.

Mobile design is IMHO not only about the responsive layout. It is also about speed/bandwidth and hardware limitations on these devices.

  1. meta.discourse.org: http://www.webpagetest.org/result/160330_8K_592802ee00441a32192a5183af8ad1c9/
  2. try.discourse.org: http://www.webpagetest.org/result/160330_49_024ca5619286ee2c338b3254e088d574/
  3. forum.syncthing.org: http_://www.webpagetest.org/result/160330_YB_191aff8be451ac26636f4b115f2cc018/

You can see there is timerange with 100% cpu.

P.S. forum.syncthing is the fastest

Well, you have to take into account the speed of light here.

You are comparing the speed between Frankfurt :left_right_arrow: San Francisco and Frankfurt :left_right_arrow: Amsterdam.

This tests are using the chrome emulation, and not real devices too.

http://mobitest.akamai.com/m/results.cgi?testid=160330_9W_3E

This gives 7s with a cold cache.

Discourse is working on improving this:

ok, so you know about. I currently switched to the js-less version. At this point an app makes sense … a lot!

As of October 2017, JS perf in Android / Chrome is substantially improved, probably 1.5x - 2x speedup.

As of June 2018, Qualcomm has semi-competitive (iPhone 6s territory) hardware with the Snapdragon 845. It looks like their new release coming in 2019, the Snapdragon 855, will be close to iPhone 7 performance.

We do have to wait for the vast bulk of old Android devices to cycle through the market, unfortunately. I expect that will take another 4 years.

I find my really dodgy 50 dollar android somewhat usable these days

For example I’m rocking a Pocophone F1 which costs $299, has the Snapdragon 845, and it’s a breeze to browse Discourse using it (I do it everyday :wink:)

Anything at Snapdragon 845 level or higher is going to be very solid for Discourse.

Ho alcuni utenti su telefoni Android che utilizzano il browser Chrome e si lamentano di caricamenti del sito lenti, un problema sorto solo molto recentemente, in particolare da un utente dopo l’ultimo aggiornamento. È stato apportato qualche cambiamento che potrebbe aver influito su questo?

Assicurati di essere sulla versione più recente; se sei dietro a un reverse proxy o qualsiasi altro proxy particolare come Cloudflare, c’era recentemente un bug che impediva il fallback da Brotli a gzip di funzionare. Ed è esasperante, data la dimensione del file payload risultante.

Tutto aggiornato, senza CDN o proxy coinvolti. Funziona perfettamente sul mio iPhone con Safari. Qualcun altro sta riscontrando problemi simili? L’unico plugin che ho è quello per gli annunci, ma al momento non lo sto nemmeno utilizzando.