开发者

How can I make Adobe Flex run faster? [closed]

开发者 https://www.devze.com 2023-04-03 16:43 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消