Crosswalk Performance Mega-thread

Discussion and feedback on Construct 2

Post » Mon Mar 16, 2015 11:51 am

Thanks everyone for the help in getting me APK's. I will try to follow up with the team this week.

I will also check to see about CW11, but I believe it still has the performance issue that CW10 has.
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Tue Mar 17, 2015 1:12 am

imaffett wrote:Thanks everyone for the help in getting me APK's. I will try to follow up with the team this week.

I will also check to see about CW11, but I believe it still has the performance issue that CW10 has.


If that is really the case, that's bad news. Perhaps it would be better to skip CW11 altogether and go straight to CW12. Why? Well:

I recently installed chrome beta on my android device. The version is Chrome 42, which is based on chromium 42. My current stable is chrome v40.

The difference between the two is clear: v42 gets better framerates, and has far smoother motion, with fewer janks, lags, and other awfulness. It's really a major improvement, and is certainly brings a level of motion quality to the table that, while not perfect, is quite acceptable.

It's possible that whatever opts have gone into effect between v40 and v42 happened during the v41 cycle, meaning that CW12 could finally bring us a new version of XDK export that can compete with v7. Right now, it really feels like we are caught between a rock and a hard place, with the spectre of openssl on one side, and the poor motion quality of CW10 on the other.

Having to wait months more for reliable exports that won't be removed from the play store at some nebulous future date...well, that doesn't sound very appealing. For some users, it may be enough to spur defection to the enemy camp.

Gimme a U, gimme an N, gimme an I...
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Tue Mar 17, 2015 11:49 am

@TiAm - Have you tried to build with the CW Command line tools? The flip side is Cordova will have support for Crosswalk natively soon (hopefully next month) that should make it easier for developers to specify the version (since it's a plugin).

I'll try to build the space blaster with different versions of CW. If there is a big gain in CW12 (or I hear back from the CW 12), I'll push for the XDK to get CW12 support.
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Tue Mar 17, 2015 12:06 pm

@imaffett

Suggestion: The space blaster is a rather old and in a way peculiar product. Are you open for other "benchmark" games/projects? There are a lot of things that the old space blaster does not cover.
B
70
S
27
G
32
Posts: 476
Reputation: 19,573

Post » Tue Mar 17, 2015 12:47 pm

@Eisenhans - Absolutely! I only used that one since Ashley gave it to us. It does the FPS client side, but I was using Chrome Developer Tools and saw a big difference between CW11 and CW12. An odd note is GPU Rasterization did not appear to be on in CW11, but I did see it was enabled in CW12.

If someone provides a capx of a better project, I will get it tested right away.
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Tue Mar 17, 2015 6:19 pm

@imaffett

I have not tried to build via command line; are there some good step-by-step instructions about how to do so with a C2 project? As a solo developer, I often find my time very stretched; I love my terminal for some things (ImageMagick), but compilation isn't generally one of them. However, I'd be willing to give it a go if there was a good guide.

Was GPU Rasterization disabled on CW10? Could that be part of the regression we've experienced? Regardless, it seems like your tests suggest that there would be a benefit to 'skipping' CW11, and going straight to CW12. I'm glad to hear you're willing to push that move if it seems right.

BTW, we all appreciate your involvement on the forums, and responsiveness to our concerns. I know that most of these problems are likely coming down from crosswalk (and thus, chromium) itself, so really, no hard feelings toward everyone at intel. :)
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Tue Mar 17, 2015 8:07 pm

Hi @TiAm,

Thanks for the kind words! Building from the command line is a little tricky right now, but what is your time frame for release?. I'm pushing to get CW11 and 12 available soon (since 11 is stable and 12 is beta).

GPU Rasterization *is* supported on 10, and I can tell this via CSS demo's. But I'm not sure why Chrome wasn't reporting it. I updated the Crosswalk bug this morning with the APK's and findings. I hope to hear something from them soon.

thanks,
Ian
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Fri Mar 20, 2015 1:53 pm

I have created two debuggable APK's for users to test their apps on. One for Crosswalk 11 and one for Crosswalk 12. Please note, Cordova Plugins are not available, this is simply to test performance of your app. Both the apps allow you to enter a URL to redirect to. To test your apps, you must be running your C2 exported code on a webserver. You can host it anywhere, but your Android device must be able to access it for this to work.

You can use Chrome to test FPS. There is an ADB plugin for Chrome at https://chrome.google.com/webstore/deta ... e?hl=en-US . You must have drivers installed for your device. Once it is configured, you can inspect the target, then go to "Rendering" -> "Show FPS Meter" to get accurate FPS measuring.

https://www.dropbox.com/s/28q3chyl3sv5m ... d.apk?dl=0 - CW11 shell

https://www.dropbox.com/s/yyqhqo504gp6o ... d.apk?dl=0 - CW12 shell

If you have questions about web servers, firewalls, etc, search google ;)
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Fri Mar 20, 2015 11:40 pm

@imaffett

Thanks so much for this, this is just the kind of test we need! :)

Just in case a lot of people hit your links, I saved them to my dropbox:

CW11: https://www.dropbox.com/s/lz8q2xzmresd4 ... d.apk?dl=0

CW12: https://www.dropbox.com/s/tqia5mg69bzca ... d.apk?dl=0

Will update with test results in a bit.

Gonna ping a few people who might be interested in this:

@Egyptoon @cesisco @Iolva @kossglobal @bscarl88 @MelVin @jakub89 @aquinn @neverk volkiller730
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Fri Mar 20, 2015 11:57 pm

@imaffett Thanks for sharing testing them out now


Edit: wow these make my game run amazing compared to CW10. CW11 seemed to run slightly slower then CW12(only by a couple frames ) but Both run better with a higher and smoother FPS then CW10. My game( https://play.google.com/store/apps/deta ... lkiller.GM ) ran much better. With CW10 it was full of jittering/stuttering and random frame drops even though it's not to demanding. Cant wait to have any of these pushed to the XDK. Thanks for sharing these test APKs it's great to see the progress

Device Used for testing:
Samsung Galaxy S4
Android Version 4.4.2
Model SPH-L720T
Last edited by volkiller730 on Sat Mar 21, 2015 5:35 am, edited 3 times in total.
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: doomredmage, technofou, valentina and 2 guests