Need help with performance android... very slow, help please

Hello guys

We are developing an application for android and ios

I use Adobe Flash CC 2015 - Adobe Air 21

It of kind of big and complicated coding and a lot of Images, loaders, etc...

in ios, it is almost ok, but in his crappy slow android!

I mean, it's it takes like 15 sec to even run the application.

I put the rendering to GPU mode - I use greensock interpolations.

I have a lot of vectors, bitmaps, so

I thought about moving to the framework of starling, do you think it helps?

If so, what codes should settle there?

I mean that Starling would I use each unique code gives me for parts?

Touch listeners? or Chargers? or?

I need to know these because I don't have a lot of time, and it's a loooot so change

What is the most emotional in the performance and memory management?

Please let me know if you have a tip

It is really important

Thank you very much

Sam

There is no single simple answer to optimize performance.

However, you can usually improve performance by learning how to use cacheAsBitmap and cacheAsBitmapMatrix and they often give the biggest improvement with the least effort.

Here is an excerpt from a chapter in development of Flash games: in a Social, Mobile and 3D world

Chapter 7

Optimize the performance of the game

Easier to the more difficult to implement

1. do not use the filters.

2. always use the reverse for loops and avoid loops and avoid while loops.

3. explicitly stop timers for their loan for gc (garbage collection).

4. use the weak event listeners and remove headphones.

5. strictly type variable when possible.

6. explicitly disable interactivity mouse when interactivity smile not necessary.

7. replace dispatchEvents with callback functions whenever possible.

8 it would be gc stop sounds for the sounds and SoundChannels.

9. use the DisplayObject most basic need.

10. always use cacheAsBitmap and cacheAsBitmapMatrix with air applications (i.e., mobile).

11. reuse of objects when possible.

12 Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.

13. the pool instead of creating objects and gc objects ' ing.

14. use partial blitting.

15. use step blitting.

16 use Stage3D.

Biggest advantage less

  1. Use the blitting Stadium (if there is enough memory system).
  2. Use Stage3D.
  3. Use partial blitting.
  4. Use cacheAsBitmap and cacheAsBitmapMatrix with mobile devices.
  5. Disable explicitly interactivity mouse when interactivity smile not necessary.
  6. Do not use filters.
  7. Use the most basic necessary DisplayObject.
  8. Reuse objects whenever possible.
  9. Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.
  10. Use reverse for loops and avoid the do loops and while loops.
  11. The pool instead of creating objects and gc'ing.
  12. Strictly, type variable when possible.
  13. Use weak event listeners and remove headphones.
  14. Replace dispatchEvents by the callback functions whenever possible.
  15. Explicitly stop timers on loan for the gc.

16 stop sounds for the sounds and SoundChannels be gc would be.

Tags: Adobe Animate

Similar Questions

  • I NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he try to put the itunes thing but

    NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls

    Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.

  • Windows 7 64 bit worked very well and when was time to save I get the cyclic redundancy check, I try several times and made the same thing I need help please

    worked very well and when was time to save I get the cyclic redundancy check, I try several times and made the same thing I need help please

    Hello Hans,.

    Thanks for choosing Microsoft Community!

    According to the description of the problem, you have problems when you use the backup on Windows 8 feature.

    Please answer these questions to better understand the issue and help you:

    1. are - what you're talking to backup and restore functionality on Windows 7?

    2 have you made any changes to the computer before the show?

    It is perhaps to cause bad sectors on the hard drive, run the disk check to repair bad sectors

    Check your hard drive for errors:

    http://Windows.Microsoft.com/en-us/Windows7/check-your-hard-disk-for-errors

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    For more information:

    Backup and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/back-up-and-restore-frequently-asked-questions

    Hope the helps of information. Don't answer if you need assistance, we will be happy to help you.

  • Performance is very slow and CPU use 90%

    Hello

    Can u please help me for the question below.

                • Performance is very slow and CPU use 90% *.

    Wres

    DJ

    I run esxtop and see what the CPU and go from there.

  • I need to change my apple user ID e-mail address. Since I will be withdrawn and used my personal E-mail address instead of company e-mail. I need help please on how to do

    I need to change my apple user ID e-mail address. Since I will be withdrawn and used my personal E-mail address instead of company e-mail. I need help please on how to do it. I now use IPhone 6

    Launch Safari on your iPhone, iPad or Mac and go to appleid.apple.com.

    To an iOS device, tap on manage your Apple ID. If requested, please check your identity after the connection.

    Click or tap on change in section Apple ID and primary e-mail address.

    Edit with your new email address.

  • I have 2 problems-how can I activate my Add ons and how to uninstall Windows Anti Virus. I need help, please.

    I have Windows XP 32-bit with IE8 Add ons.  I mainly use Firefox Mozilla for my browser and Yahoo as my home page.  Anyway, I have tried all the support and help guide and technicians told me to do to get add ons to open and activate but in vain.  This computer was given to me as a profession, and it was used in a Bank, so I think that the system administrator has disabled the add ons.  I myself as an administrator and use the tips and tricks given windows and Microsoft, but I always run up a wall.  I need help, please.
    I also need to know how to uninstall Windows antivirus software.  I can't find anywhere on my computer.  I feel really stupid and he is probably right in front of my face, but I can't find it to uninstall.  I have McAfee that I paid dearly for if I want to use it until it expires.

    This "Microsoft antivirus' witness (AKA Trojan W32/FakeAlert) hijackware infection!

    If you manage to somehow move to Win7, you will always have an infected computer.

    The ONLY way to solve the problem is by formatting the current hard drive and do a clean installation of Windows, whether it is WinXP or Win7.

    The ONLY way you can do a clean install of Windows XP if you have disks that came with the computer or if by chance, there is a hidden partition restore (not to be confused with the system restore).

    If your kids er - well & their spouses are going to spend money on a new HARD drive, they'be be better spend on a low-end Windows 7 computer and brand-new (for example, a netbook or a mini).

    NB: Any data on your Windows XP computer must be considered 100% reliable! (This includes all of your usernames and passwords, for example, those used for online banking, etc.) You do NOT want to put ALL the data from Windows XP to a new computer or HARD disk.

    Good luck, Grandma. Hope that your grandchildren will treat you better than their parents.

    PS: Time wounds all heels.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I want to return a plug-in, I accidentally deleted.i to play online snooker.can someone at - it need help please?

    I want to return a plug-in, I accidentally deleted.i to play online snooker.can someone at - it need help please?

    Hello

    1. What plugin you are talking about?

    2. on which site Web you are trying to play the game of billiards online?

    3. what web browser do you use?

    4. how exactly did you uninstall the plug?

    Plug-ins are provided by third-party providers, you can try to load the game of billiards and verification that branch is needed.

    Please come back with more information on the issue so that we can help you better.

    You can also visit the link of the article of Microsoft that will guide you on how to ask questions below.

    Suggestions for a question on the help forums

    http://support.Microsoft.com/kb/555375

  • guys I need help last night I tried to install alcapitan update of my macbook pro, but it did not work and it make me an installation message you cannot be finshed I need help please

    The guys that I need help please,

    Last night I tried to install the update to alcapitan to my macbook pro, but it does not work it makes me a message (your installation cannot be finshed) and many many things and when I try to strt my macbook still keeps it install the updat and then get the message again...

    I need help please

    Hello, check if the mac you can use El Capitan. See the information update of OS X El Capitan - Apple Support here

  • Compaq cq10: need help please code error: CNU0015RN9 on compaq cq10 150ev

    Need help please code error: CNU0015RN9

    Thank you in advance!

    Hello

    No problem. Did you do a hard reset and try again?

    For the error code, check again a time-

    Try:

    e9l11f3zv7

    all lowercase letters

    first letter is a small suitcase E
    second is number Nine
    third letter is small case L
    fourth & fifth is number one
    Sixth letter is small box F
    seventh is number three
    eighth letter is small suitcase Z
    ninth letter is small case V
    the last is number seven

    Concerning

    Visruth

  • I am trying to upgrademy vista for the next operating system or even 10 if possible and I can only do what I need help please

    I'm trying to upgrade my vista to the next operating system or even 10 if possible and I can do what I need help please

    Hello

    There is no free upgrade Vista to 7, 8.1, or 10.

    Follow these steps before you buy Windows 7.

    Microsoft sells more than 7; Try Amazon.com.

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    «Installation and reinstallation of Windows 7»

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@

    Follow these steps before buy you and upgrade (new installation) of Windows 8.1.

    Check if the manufacturer of your computer/laptop has Windows 8.1 drivers available for your model.

    If this is not available, Windows 8.1 not install and work properly for you.

    There is a lot of information in this first link from Microsoft:

    Download and run the Windows Upgrade Assistant 8.1 of to see if your machine is compatible Windows 8.1 and read the update for Windows 8.1: FAQ here

    "Update to Windows 8.1: FAQ".

    http://Windows.Microsoft.com/en-us/Windows-8/upgrade-to-Windows-8

    "8.1 for Windows system requirements.

    http://Windows.Microsoft.com/en-us/Windows-8/system-requirements

    @@@@@@@@@@@@@@@@@@@@@@@

    How to buy Windows 10:

    http://www.microsoftstore.com/store/msusa/en_US/cat/Windows/CategoryID.70036700

    But first make sure that you have the correct configuration and your computer manufacturer provides the right drivers for 10.

    https://www.Microsoft.com/en-us/Windows/Windows-10-specifications#sysreqs

    " System requirements Windows 10"

    https://www.Thurrott.com/Windows/Windows-10/3884/Windows-10-system-requirements

    Microsoft deploys Windows 10 available as free upgrade to Windows 7 features, Windows and Windows Phone 8.1 8.1 qualified. It will be available from July 29, 2015

    "FAQ Windows 10.

    http://www.Microsoft.com/en-us/Windows/Windows-10-FAQ

    See you soon.

  • Client performance is very slow

    On the part of the Oracle database and E-Business applications track, I installed the PA for the Oracle database and the extension of the PA of E - Biz.

    The location of the servers the PA Middleware and collector is in WE (Boston) , while the PA Client is installed on the local machines in India (New Delhi).

    The PA Client performance is very slow while we move from one screen to another.

    I know that it is clearly the bottleneck of bandwidth bandwidth/latency network, always looking for suggestions to mitigate.

    I think that the network latency is your problem here. The two recommendations that I have are:

    (1) use the web interface in the UI Foglight. This should perform better especially if you use a local FglAM to the collector and middleware.

    (2) use a terminal server server or virtual office in Boston to install thick client PA. This will give you the best user interface response times.

    Thank you

    Jeff Currier

  • Hello. I warned to creative cloud, but not what I was looking for. I want to cancel, but I can't find where I can do.  I need help please. Thank you

    Hello. I warned to creative cloud, but not what I was looking for. I want to cancel, but I can't find where I can do. I need help please. Thank you

    Hello

    Please see: -.

    In order to cancel the order, please contact customer service

    You can check: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

    For more information on cancellation: cancel your creative cloud membership

  • {{Help very Urgent need help please}}}

    Hi Experts,

    We urgently need a help from you all, Apologise for posting this simple question, but left with no option.

    Can you please let us know if there is a quick way through query DB or the java code to find duplicated in IOM user accounts. We urgently need the data as we have it
    to update our client and perform a cleanup.

    We use IOM 9.1.0.1 and there are several user accounts created for the same as users e-mail addresses even tag multiple accounts of users etc.

    We have assigned unique employee id, but do not know if it is updated for all users.

    Pulling the full report in table USR DB Extract all records, but you are looking for a good method... like the questioning of users with the same Fname, name etc... Please
    Let me know as soon as possible.

    Concerning
    SS

    Really depends on what you have for unique identifiers... If you want just a report of all users with the same name and first name:

    select * from usr a join
    (select usr_first_name, usr_last_name from usr
     group by usr_first_name, usr_last_name having count(*) > 1
    ) b on b.usr_first_name = a.usr_first_name and b.usr_last_name = a.usr_last_name
    order by a.usr_first_name, a.usr_last_name;
    
  • I am running windows 7 and trying to download Firefox 3.6 with no luck. Need help please!

    I found the site where you are supposed to beable to run a "downgraded" firefox but when I downloaded and the installer came it would not go forward unless that I've upgraded to the new point 10 something.

    I'm under edition first windows 7, 64 bit. Pretty junior to computers so if someone can help please be very specific and do it point by point, lol.

    You can install the portable version of Firefox 3.6.x to access Web sites that don't work with Firefox 5 +.

  • Satellite A300 with XP is very slow

    Hello...

    I bought a toshiba A300 and I installed XP SP2 her full license, but the performance is very bad...:

    -Graphics: all of a sudden, every window is large, a window I've got little push on 'accept' as it is outside the visible area...
    -Processor: works at 2.00 Ghz. When Vista I think works in 3, 2 GHz
    -Memory: it shows only 2 840 GB but I 4 000 GB of RAM and I don't know what I can do to help the computer to see all the memory it should use.
    -the bluetooh: it does not appear.

    I installed all the drivers on XP, but it is not working properly.

    It's a shame because I really need XP for my work (she based in XP), but I will not be pushed to change the Vista operating system, once again and unfortunately.

    Thanks for reading though.

    ;)

    Hello!

    > Graphics: all of a sudden, every window is large, a window I hardly push on 'accept' as it is outside the visible area...
    To be honest I n don't know what you mean.
    Perhaps you can post a screenshot

    > Processor: works at 2.00 Ghz. When Vista I think works in 3, 2 GHz
    3.2 GHz under Vista? Never!
    The operating system does not affect the speed of the CPU.

    > Memory: it shows only 2 840 GB but I have 4 000 GB of RAM and I don't know what I can do to help the computer to see all the memory it should use.
    Windows XP 32-bit and all the 32 bit OS does not support the 4 GB.
    Here you can find more information:
    http://APS2.toshiba-tro.de/KB0/TSB82022E0000R01.htm

    > the bluetooh: it does not appear.
    You have installed the latest drivers from the portal of Bluetooth?
    What is Bluetooth enabled with FN + F8 and switch wireless on the laptop?
    http://APS2.toshiba-tro.de/Bluetooth/
    http://APS2.toshiba-tro.de/KB0/TSD57013L000QR01.htm

    Good bye

  • Need help please Fancybox

    Hola

    I need assistance with Fancybox.

    I bought this model and it came without facybox, so I thought

    This will be a great help to learn a bit about jQuerry, but I'm lost

    Why does NOT on my page?

    I just can't understand this.

    Can you please check my page?

    http://tummytime.biz/pages/portfolio_fancy.html

    I had Windows 8, Dreamweaver CC

    Thank you very much.

    I just tested your downloaded code by removing two links of jquery at the end of your HTML and it works here.

    Take these lines 238 and 239...

    And it should work.

Maybe you are looking for