The State of JavaScript on Android in 2015 is... poor

Impressively, I just tested @zogstrip’s Nexus 6p on emberperf.eviltrout.com, render complex list, 2.11 and I got ~150ms. That’s quite good.

Chrome 55 212 ms
Chrome 58 175 ms
Chrome 61 150ms

That puts it in iPhone 6 territory, which is about where it should be based on the CPU, and I would rate it as solidly “good”. The Nexus 6p is not exactly a new device.. we’ll see where Snapdragon 845 takes us. Current rumors say:

The Snapdragon 845 scores 2600+ in GeekBench 4, for single core results.

That’s about 10% faster than iPhone 6s.

11 « J'aime »

For those that are not familiar with why Apple devices show higher performance and why Android device manufacturers appear to be playing catch-up here is a nice video with a little bit of history:


For point of reference I ran some of the benchmarks on my OnePlus 2 (ONE A2003) an August 2015 Qualcomm Snapdragon 810 phone - the same processor as the Nexus 6P mentioned above.
This was a new phone when this thread was started back in 2015, now updated the phone running on a custom Lineage OS build (Android 7.1.2). In a months time a replacement phone will come and I’ll reset the device to whatever the latest manufacturer OS is and run these numbers again.

Browser version “render complex list”, 2.11 Speedometer
Chrome 61 (Stable) 152.27ms 27.2 (±2.4)
Chrome 62 (Beta) 179.04ms 25.4 (±1.4)
Chrome 63 (Canary) 190.00ms 23.7 (±1.7)

Allowing the phone to “cool” between benchmark runs - these are pretty repeatable numbers.

Hopefully this doesn’t indicate that Chrome is slipping backwards any when Chrome 63 finally reaches the general public.

4 « J'aime »

Canary isn’t a good test candidate. Try beta. Canary is too variable. Also you don’t need both runs, the HTML and regular are pretty much the same these days.

3 « J'aime »

I’ve updated the post above to include the Chrome Beta numbers too.

Well that is concerning. I am not on Twitter any more but you might try pinging Benedikt with a link to your post https://twitter.com/bmeurer

5 « J'aime »

Done:
https://twitter.com/DeanMarkTaylor/status/917904963438866432

5 « J'aime »

I wanted to check if this repeatable cross another device…

Trying it on a slightly older (from the factory, OEM updates only) “OnePlus One” (A0001) - Qualcomm Snapdragon 801 - Cyanogen OS 13.1.2 - Android 6.0.1 phone - released April 2014.

Browser version “render complex list”, 2.11 Speedometer
Chrome 61 (Stable) 329.27ms 15.70
Chrome 62 (Beta) 435.83ms 14.59
Chrome 63 (Canary) 451.24ms 15.10

Again allowing it to “cool” between runs.

3 « J'aime »

Just had this reply:

EDIT: Additional update:

EDIT #2: Additional update:

11 « J'aime »

I re-ran all the benchmarks…

OnePlus 2 (ONE A2003):

Browser version “render complex list”, 2.11 Speedometer
Chrome 61 (Stable) 147.74ms 26.10 (± 2.50)
Chrome 62 (Beta) 165.26ms 24.80 (± 2.00)
Chrome 64 (Canary) 118.85ms 27.90 (± 0.48)

OnePlus One (A2001):

Browser version “render complex list”, 2.11 Speedometer
Chrome 61 (Stable) 333.12ms 15.82 (± 0.086)
Chrome 62 (Beta) 421.10ms 14.59 (± 0.060)
Chrome 64 (Canary) 285.00ms 16.00 (± 0.084)

Note the following for the latest Chrome 64 (Canary):

  • “render complex list” times going down - yay! :allthethings:
  • “Speedometer” numbers going up - yay! :allthethings:
11 « J'aime »

Very nice results!! All kudos to Benedikt. Be sure to link him to your results via Twitter; I can’t as I am no longer on Twitter.

4 « J'aime »

UPDATE: Reply from Benedikt

6 « J'aime »

Good news! In the last year things have gotten a lot better!

Snapdragon 835, Android / Chrome circa June 2017

Snapdragon 845, Android / Chrome circa June 2018

Note this is Speedometer 1.0 to keep the comparison apples to apples. Between the respectable hardware bump (finally) and major Chrome/Android JS improvements, we’re looking at 2x improvement. Vastly overdue.. but I’ll take it!

This is finally iPhone 6s territory which I’d call certainly fast enough for native Discourse performance.

18 « J'aime »

En utilisant les chiffres plus récents et plus précis (mais inférieurs) de Speedometer 2.0 :

OnePlus 5 — Snapdragon 835 — 33,1
OnePlus 6 — Snapdragon 845 — 49,4
Xiaomi 9 — Snapdragon 855 — 68,5

Ces résultats sont, bien sûr, assez éloignés des performances du matériel iOS, se situant vaguement au niveau d’un iPhone 7. À titre de comparaison, cet iPad Pro obtient 137,5 et l’iPhone 11 environ 150.

9 « J'aime »

Pour comparaison, indiquant que tous les Snapdragon 835 ne sont pas identiques :

Google Pixel 2 XL — Snapdragon 835 — 24,6

Mise à jour vers Android 10, batterie pleine, branché sur secteur après un redémarrage propre et attente de 5 minutes (afin que le téléphone ne soit pas occupé au démarrage).

Le téléphone a été initialement lancé il y a 23 mois (octobre 2017) et a été discontinué il y a moins de 6 mois (avril 2019).

5 « J'aime »

Le mien a été testé il y a plusieurs mois, plus près de la date de mise à disposition initiale du matériel. Idem pour l’autre modèle. Le Xiaomi a été testé hier :wink:

3 « J'aime »

LG ThinQ G7 — Snapdragon 845 — 52,6
Chrome 77.0 Android 9, Speedometer 2

On va clore ça en beauté

Le Snapdragon 865 obtient environ 80-85 ici, comparé à..

14 « J'aime »

J’ai cependant constaté de nettes améliorations sur Edge Canary pour le bureau. Un i5-8265U qui plafonnait à 75-85 points sur Chrome stable v80 atteint désormais 110 (+30 %, sur la v84).

Il semble principalement effectuer moins de travail, car Intel Power Gadget ne montre pas de différence drastique au niveau du « CPU Util% » (je suppose qu’il s’agit du nombre d’instructions pouvant être terminées par les unités d’exécution).

Je ne sais pas comment cela se traduira sur ARM. Croisons les doigts.

3 « J'aime »

Le bureau n’est vraiment pas un problème, nous avons d’énormes gains de performance. Les améliorations sur Android sont considérables, en raison de la faiblesse des SoC Qualcomm ! Voyez-vous des améliorations dans la version Canary sur Android ? :thinking:

Honnêtement, les performances de l’iPhone 7 (855) et de l’iPhone 8 / X (865) ne sont pas si mauvaises du côté Android. C’est certainement “suffisant” d’un point de vue Discourse. Cela ne vous épatera pas, mais c’est tout à fait compétent.

3 « J'aime »

Ma PWA Meta fonctionne déjà en 64 bits :tada:

12 « J'aime »