Hi Om, Tom and Justin,

I experienced performance problems with bitmapdata (I had to avoid pixel to pixel iterations cause they're too slow, also on small images of 1024x768px) and in general with views transitions and UI components (they aren't as fluid and responsive as the native apps' ones - for example I wasn't able to create a simple, fluid, scrolling image gallery). Another issue (a big issue on mobile) was the memory management: the app eats RAM and isn't easy to avoid memory leaks. It happens that EventListeners and particular components (like StageWebView) keep referenced in memory and the garbage collector seems unable to get rid of them. I also notice an increasing RAM consumption on retina devices when 'requestedDisplayResolution' is set to 'high'.

For sure my code isn't optimized, I will start from there using Apache Flex 4.12


Il 02/04/14 10:20, OmPrakash Muppirala ha scritto:
On Wed, Apr 2, 2014 at 1:05 AM, Gabriele Campi [Media Logic] <
[email protected]> wrote:

Hi,

last year I created a mobile app for IOS and Android using Apache Flex.

My app uses a SQLite database and makes large use of graphics and
bitmapdata (being a design app that manipulates images) and I encountered
many problems with general performances and memory management. My app now
is heavy and slow.
It was my first project with Flex and Air technologies, and now it's time
to clear, improve, rewrite the code. What would be the better approach?

Just to test performances I created an Hello World app in Objective-C, AS3
and Flex, just a pair of views with a few buttons, and the Flex one was
dramatically slow and heavy compared with the others.

There are many opportunity out there (MVC frameworks like Robotlegs and
PureMVC, or pure AS3 solutions like MadComponents), could they be a viable
alternative?

Thanks

Gabriele

Gabriele,

It is possible to create well performing mobile apps using Apache Flex.
Here are a few examples: http://flex.apache.org/community-showcase.html

Use the profiler and Adobe Scout to ensure that your code does not have
significant performance bottlenecks.

If you have more details on the performance problems you see, we might be
able to help you out.

Thanks,
Om


Reply via email to