How can I make Adobe Flex run faster? [closed]
Compared to native apps, my Flex application runs like a hog born by a snail, especially on mobile devices. What tric开发者_运维知识库ks can I employ to optimize it's performance, and what trap doors should I avoid?
Use a better architecture, simplify your code, avoid using non-mobile optimized components, be smart about GC, renderers, binding and using often recurring events, use better libraries (TweenLite instead of adobe tween libs), avoid heavy graphics or animations.
The list goes on. Most of these are all PEBKAC though. I've seen some decent performance from Flex on mobile, but it all depends how you code it.
The first step could be to ensure you build your application using release mode, not debug mode.
I'm down voting you and ask you to write a specific question. You have not provided any information for anyone to provide you a reasonable response.
But here is some information.
1) Flex AMF data transfer is faster than XML, AJAX and JSON.
2) If you are comparing Flex to Assembler language in terms of speed, you might want to rethink why you are using a cross platform high level language.
精彩评论