I recently completed a Cordova app which runs stable and fast on iOS7 and iOS8 
devices. It runs in Webview for Android devices but is slow, so I migrated it 
over to Crosswalk. The results were initially promising as Crosswalk 8  ran 
fast and stable on the tested device. However, I found the results were 
different on other Android devices. After trying 6 different versions of 
Crosswalk I finally released the app using Crosswalk 7.36.154.12 as it seemed 
the most stable on the tested devices. However, the app is still not stable on 
all Android devices I have tested on. Below are my notes for each version I 
tried and the results I found on the various devices.

The app manipulates multiple Canvas elements and relies heavily on GPU hardware 
acceleration. I'd love to find a way that it might be stable on all Android 4.x 
devices using Crosswalk. I'd love some advice as to what I might try next or 
what tests might be helpful to the Crosswalk developers.

And...I've tried these Crosswalk versions with every GPU and memory flag under 
the sun. Unless I shut off hardware acceleration for the canvas element or 
other hardware acceleration (which results in poor performance) the behavior is 
the same:

6.35.131.13
 - appeared stable with quick test on LG G3 Android 4.4.2
 - GPU reports only 8MB available on Motorola Droid Mini Android 4.4.4 
according to --show-fps-counter. This causes poor performance as the GPU memory 
needed is often exceeded. Crosswalk versions 8,9,10 do not have this problem 
with this device as these versions report over 100MB of GPU memory on this same 
device.
 - If wifi/mobile network is not available exhibits strange erratic behavior in 
the app. This is in spite of the fact that the app does not use wifi/mobile 
network. 

7.36.154.12 and 7.36.154.13:
 - exact same behavior as 6.35.131.13 except:
  - no issue with wifi/mobile
  - runs but is not stable on LG G3 Android 4.4.2. Erratic crashes. Android log 
for crash unknown.

8.37.189.12, 9.38.208.1, 10.38.219.0
 - app immediately crashes on LG G3 Android 4.4.2. Android log reports GPU 
Parse Error 2.
 - strange delays of up to several seconds at a time on x86 Asus ME302 running 
Android 4.3. Also is not fully stable (sometimes crashes at erratic times. Log 
unknown. Note: app has both x86 and ARM Crosswalk so Crosswalk is native x86 
code, not running in ARM emulator.)
 - GPU reports 100MB available on Motorola Droid Mini, which is stable and runs 
fast and well. (Why does this same device report only 8MB available on Xwalk 
versions 6 and 7?)

The app is built on Cordova 3.6.3-0.2.13 and uses the following plugins:

org.apache.cordova.console 0.2.7 "Console"
org.apache.cordova.device 0.2.8 "Device"
org.apache.cordova.file 1.0.1 "File"
org.apache.cordova.inappbrowser 0.5.2 "InAppBrowser"
org.apache.cordova.media 0.2.12 "Media"
org.apache.cordova.splashscreen 0.3.3 "Splashscreen"
org.apache.cordova.statusbar 0.1.7 "StatusBar"

Thanks in advance for any help,

-John
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to