23 Dec 2011 4:59 PM #1
Performance boost when compressing ST2.0 on device
I've been working with ST for a few months now, and since i always had core patches, i was only testing my apps using uncompressed with comment library. I was sure it would imply a longer load time. However I did not think it would also impact loaded-app animation&reactivity perf !
And that's quite a huge boost, more noticeable on lists & touch/click interaction.
was only smooth on a 4GS. some list were quite sluggish on a 4G.
Now it is almost perfect on a 3GS & 4G.
I'm using Assetic with YuiCompressor to compile (with .jar) all my JS & CSS to a single file.
(it looks like ST2 is broken by Google Closure compiler, will retry).
24 Dec 2011 7:42 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You do know we have our own SDK Tools that will do a custom build right? So you load sencha-touch.js (the core with no widgets) and in your MVC app class files if you have the requires/uses/etc setup correctly then the SDK Tools will include your app classes and the Sencha Touch classes you required but aren't part of the sencha-touch.js core file.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.