Discourse mobile slow on 2013 Android phone


(Lkwg82) #1

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 Forum.

I use the chrome on samsung s4.

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

Thx in advance!


(Rafael dos Santos Silva) #2

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 ?


(Lkwg82) #3

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: WebPagetest Test Result - Frankfurt : meta.discourse.org - 03/30/16 19:51:42
  2. try.discourse.org: WebPagetest Test Result - Frankfurt : try.discourse.org - 03/30/16 19:55:21
  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


(Régis Hanol) #4

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.


(Rafael dos Santos Silva) #5

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:


(Lkwg82) #6

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


(system) #7

(Jeff Atwood) #8

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.


(Sam Saffron) #9

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


(Rafael dos Santos Silva) #10

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:)


(Jeff Atwood) #11

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