How do I optimize "Waiting for the next frame"

When running my swf file in release build, the first time I start the browser after cleaning the browser cache, the .swf will appear in less than a second.  If I attach scout, I can see it is around .7 seconds to finish.
However, after this run all subsequent times I load the page, it takes ~3 seconds.
When I look at scout, I see almost identical CPU and memory use , but it is spending ~2.3 seconds "Waiting for the next frame".  (almost an extra 700ms per frame).
There is no requirement for animation, all of the content is very static.   I'd just like to render it as fast as possible.
I know it's not related to caching the .swf file because I have tried turning off the caching (by adding a random parameter) and verified using Httplogger that it is always downloading a new .swf file.  (I turned back on caching).  So I'm kind of not sure what to do next...
What things can I try to optimize this?  Are there places I can read about this issue?
(P.S.  >>  I notice it spends a lot more time "Waiting for the next frame" when I build a debug version.  Don't know if that's relevant...)
Thanks!

There's nothing you can do about "Waiting for next frame" - this is simply the time when Flash Player has finished doing everything it needs to do for the frame, and waiting for the OS to wake it up again. This depends on the framerate you set in your swf - roughly speaking, the waiting time is the budget (1/framerate), minus the time Flash Player spends doing actual work.
You can find more information here, about understanding how the data you see in Scout relates to how Flash Player works:
http://www.adobe.com/devnet/scout/articles/understanding-flashplayer-with-scout.html
btw, you shouldn't look at performance in a debug swf - you'll get wildly misleading results.

Similar Messages

  • I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    See TS2690: iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert.
    tt2

  • Should I get a 2013 macbook air, a macbook pro 13 inch, a regular macbook pro or wait for the next generation of haswell macbook pros?

    So im a little confused, i dont know what macbook should i get.
    I want a macbook for:
    surf the web
    Do some school work like powerpoint, excel, word etc.
    store music and pictures
    This macbook i will probably have it for like 3 years so i wanna make sure the macbook i choose will last.
    I really would like a macbook pro but the thing is that i`ve have been hearing that a new generation of retina macbook pros will be coming this fall so i wanna know your opinion if it is worth waiting for the next gen of macbooks.
    thanks

    For what your doing, a $400 PC laptop will do and if it gets lost or stolen (as long as you make backups) it's really no big deal. Buy another.
    A Mac will set you back almost $2000 for the same performance by the time you thrown in the 3 year warranty, tax and backup drives etc.
    The higher end Mac's closer to $3000.
    Also after 3 years after spending so much money you want to fix it to keep it going, a cheap PC you just get a new one.
    In some instances it's not smart to get a Mac, they are often a target for theft and if your young, your prey. 

  • I have an ipad 4 running ios 7 but i noticed ios 7 on my ipad seems laggy. I already did a factory reset but it seems doesn't change a bit. Are there any solution for this or I need to wait for the next ios 7 update?

    Am I the only one who facing this problem or there someone else. I did a factory reset yesterday but it still laggy. Do I need to wait for the next ios 7 update or what?

    Hi Amish,
    I should have mentioned that I have signed out of the iCloud Control Panel several times and no syncing occurs.
    Thanks for your response anyway. I appreciate your feedback.

  • Have a Droid Razr M that is stuck in the reboot screen. I tried a hard reboot and a factory reset, and it still gets stuck in the reboot screen. How long should I wait for the reboot to occur until it starts back up?

    Have a Droid Razr M that is stuck in the reboot screen. I tried a hard reboot and a factory reset, and it still gets stuck in the reboot screen. How long should I wait for the reboot to occur until it starts back up? I tried the steps for a factory reset given on this site, but it still does not want to work. Any help would be greatly appreciated.

        Hello otter314!
    Let's take a look into this to see if we can figure out what happened. When did this begin? What's the software version of the device? Do you remember what was happening with the device right before this started? Please supply me with some additional information, I'm happy to help with a resolution!
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • Should I get the iPod 5 now or wait for the next one to come out?

    Should I get the iPod 5 now or wait for the next one to come out?

    It is up to you. Based recent history you may have to wait until October 2014

  • Should You Buy An iPhone Now, Or Wait For The Next One?

    Great article by HuffPost Tech.
    The most common thing I get asked whenever I tell anyone I'm a tech writer is some version of the question: "Should I get a new iPhone now, or should I wait until the next one comes out?" It is as though my business card should read not "Technology Writer," and instead "iPhone Psychic"
    Not that I am not happy to prognosticate! And in that spirit, here's a look at the questions on everyone's mind: Should I buy an iPhone now? And if not now, when?
    First, let me say that I am fascinated by the peculiar kind of panic that I encounter in people I meet who are deciding on a purchase date for their next Apple phone. I call it the iSenberg Uncertainty Principle: Potential iPhone buyers exist in a constant state of anxiety, perpetually worrying that purchasing an iPhone on any given day will mean that they will miss out on the inevitably cooler version with the mind-blowing new features soon down the road. The Cupertino Sword of Damocles constantly dangles over their heads, threatening to pierce them with unhipness and iShame.
    Here is one solid piece of advice I can offer to help you avoid the Sword: Do not buy any new iPhone until September. Apple has an annual media conference each September, and every blog with the word 'Mac' in the title is reporting that Steve Jobs is going to do his black turtleneck thing and introduce some kind of new iPhone there. The September Media conference is generally used to present the new iPods, but as All Things Digital reports, Apple plans to "commandeer" the conference for its official iPhone announcement.
    Apple is long overdue to release its new iPhone anyway, if history is any indication. Look at this handy little timeline:
    June 2007: original iPhone released
    June 2008: iPhone 3G released
    June 2009: iPhone 3Gs released
    June 2010: iPhone 4 released
    June 2011: Nothing!
    In other words, the 5th generation iPhone is already a month late, so it makes sense that the rumors are swirling. Apple's tardiness can be explained by the fact they've actually already released two iPhones in 2011 -- the Verizon iPhone in February and the unlocked iPhone 4 in June. Their schedule is all screwy, like a traveler trying to get over jet lag. But all signs point to them getting right with a September Apple iPhone release.
    So what jaw-dropping new feature will this iPhone boast? We're hearing that the "iPhone 4S," as it is rumored to be called, won't be the dramatic re-imagining that many of us have come to expect with each new iPhone release. Tech blogThis Is My Next thinks that it will be thinner and lighter, and that it will run on a new chip; the New York Times thinks that it will be the same dimensions as the iPhone 4 but that it will be cheaper. Bloomberg agrees with This Is My Next on the chip and adds that the rear-facing camera will upgrade to 8 megapixels from 5 megapixels.
    Now, even if you're just a normal, non-geek iPhone user, who doesn't care if the rear-facing camera doubles its megapixel count, or if Apple has changed the manufacturer of its data processors, or whatever, you still need to at least wait for the alleged iPhone announcement, and here's why: if history is any indicator, the introduction of a newer iPhone model is accompanied by a drop in price of older iPhone models. When the iPhone 3GS was announced, the price of the iPhone 3G dropped by $100; when the iPhone 4 was announced, the price of an iPhone 3GS also dropped by $100. Even if you know that you're not going to drop $400 on whatever iPhone Apple begins peddling in September, there is no sense in paying more money for an iPhone 4 or 3Gs now when the base price of both seem like locks to drop in two months.
    But before we start fantasizing, how can we be so certain that Jobs is even going to announce an iPhone in September if Apple hasn't so much as indicated such a thing? How do we know that all of these rumors weren't just started by lonely nerds like me and my co-workers emailing each other from our mother's basements, inciting iPhone rumors all on our own?
    Well, first of all, I don't live with my mother; and second of all, the new iPhone rumors have sprung forth from two reliable sources held in high journalistic regard.
    The first is esteemed, award-winning tech journalist John Paczkowski of All Things Digital, who blazed iPhone prognostication trails by predicting back in April that an updated iPhone 4 would be unveiled at the September Apple music Conference and has steadfastly maintained the claim is true through June and into July. In fact, he confirmed as recently as July 5 that a shiny new iPhone looked to be in the early stages of supply chain production, and that people close to the company still believe that the new iPhone would be ready for the Jobs treatment in September.
    So there is Reliable Source One.
    Reliable Source Number Two is the Wall Street Journal, not exactly a one-laptop operation. The paper gives "the end of September" as a target launch date, which squares up with both Paczkowski's prediction of a September announcement and release. This doesn't even mention This Is My Next's separate prediction of a September release, nor 9to5Mac reporting that there are going to be two new iPhones in September, one low-end and high-end. But now we're falling down the rabbit hole and into the basement again, so let's focus:
    There is likely to be a new iPhone in September. It will likely affect the price of all the other iPhones. The iPhones available now -- the iPhone 4 and the iPhone 3Gs -- will probably be cheaper in two months. Unless you drop your current iPhone in a pool, a bathtub or a volcano, do not buy an iPhone until Steve Jobs opens his beautiful brilliant mouth at the Apple conference in early September. When the post-turtleneckian dust settles, we'll have a clearer picture of whether or not this rumored new iPhone is worth the money. And then we can talk about--well, whether or not you should buy an iPhone now, or wait until the next one comes out.
    http://www.huffingtonpost.com/2011/07/12/iphone-release-5-september_n_896345.html

    Apple has two prototypes out testing now.  One is a thinner totally redesigned case.  The problem with it is that Foxconn can't seem to build it.  Hence the delay.  The other prototype uses the existing case, but with updated (read dual core) internals.  If they can get production up by September the first phone will be released and will be the iPhone 5.  If they cannot, then the second prototype will be released as the iPhone 4GS.  

  • I want to buy a new laptop so my question is should i buy the new 2013 macbook air 13in or wait for the next model (june 2014) ?

    This will be my first mac laptop, so my question if i am goin to miss a huge jump in the specifications for the next year release or not ?

    We know there will eventually be a new MacBook Air (though the terms of use here prohibt speculation about it). We have no idea when it will come out or what it's specs will be. Retired Engineer's advice is exactly the same as mine. If you need a computer now, buy it. It is a powerful computer and except for the fact there's no 2TB SSD available (not that I could afford it if one existed) it could be my one and only computer. If you merely want a new computer, wait until you need one.

  • Should I wait for the next generation of intel before I purchase my Mac

    I use FCP Studio at work. I also use Studio 8 (Macromedia), but on a PC. I wan't to purchase a Mac sometime in the next year and run FCPS and S8 on it. (Any way they would both run on a laptop?) All of this talk of Universal crossgrades, etc. has me confused. Should I wait for the software to catch up with the hardware? Should I wait for the G5 intels? I'm in no hurry and want to make the right investment. I teach, so we have several different models of Mac - laptops, G4s, and G5s. I need to understand all of this crossgrade stuff before I purchase my own or the school purchase anymore computers.
    I would really appreciate advice from the experts.
    PowerMac G5, (7,3)   Mac OS X (10.4)  

    just to address some of your points:
    All of this talk of Universal crossgrades, etc. has me confused. Should I wait for the software to catch up with the hardware?
    since Apple first introduced the move to Intel there have been some clever blighters installing OS X on their PC's and Windows on their Intel Mac's ... not to mention that it is now never been easier for PC developers to port their software to the Mac platform
    so who knows, there may be a possibility of dual booting your Mac to run both FCP in OSX and Studio 8 in Windows, or if the developers port it, running Studio 8 natively on the Mac ... but not yet.
    there's also speculation about software virtualization, whereby you might run your app regardless of the host OSX ... but again, not yet.
    in the meantime the G5 Quads are spectacular machines in their own right ... wish I had one.
    Should I wait for the G5 intels?
    the laptop MacIntels are getting rave reviews, its safe to assume that the MacIntel desktops/towers will be even more impressive, however the publically announced timeframe for their release is not before the end of the year ... although we're all hopeful that they'll come sooner
    if your current systems meet your needs, if you have no special reason for upgrading, like you are losing work because your facilites are not up to spec (or you just can't wait and have money burning a hole in your pocket) then it would be prudent to wait and see.
    let the bleeding edge pioneers forge the way Jackie, wait for the dust to settle ... the second generation are usually much improved over the first

  • Invalid serial number for Lion update. How long do we wait for the code ?

    I bought iMac on June 27, 2011 from the Apple Store in Nashua, NH.
    I went to the page to enter my serial number and get my code for free LION update.
    All I get is invalid serial # message.
    I filled out the form and I am still waiting...going on second day ???
    MadoneGirl

    I know that. I entered my valid serial number but the system that allows for a free update is rejecting
    the serial number. You then have to send them a copy of your purchase etc etc.........and they will
    email you some kind of code !!!! I am still (along with many others) waiting for my CODE.

  • Waiting for the next big FCP upgrade

    Locked by an Apple Discussions Host
    Stay on topic. Apple's discussion forums are here to help people use Apple products and technologies more effectively. Unless otherwise noted, don't add Submissions about nontechnical topics, including:
    That Apple rumor you saw on another website.
    Discussions of Apple policies or procedures.
    Speculations/rumors about unannounced products.
    I need to upgrade to FCP 5, I have v4.5.
    The $200 price tag is really great.
    I usually leapfrog and get every other version.
    The $50 crossgrade will be available by end of March.
    I'd like to get it but my question is......
    when did the last big version of FCP come out and when in the next big one due, I'd like to wait and get that one. Do you think there is a version 5.1 or 5.5 to be released this summer or by the end of the year.
    what should I do with all my old versions of FCP, just through them in the trash, too many big honkin boxes accumulating.
    thanks.

    then I bought v4.5 upgrade (came in a big black box)
    did you buy the production suite version (with Motion and DVDSP)?
    The $200 price tag is really great.
    The $50 crossgrade will be available by end of March.
    uhhh the only one you need is the 199 one
    it is an upgrade to STUDIO UNIVERSAL
    it IS the crossgrade and upgrade in 1
    DAVE
    www.proapptips.com

  • How long should I wait for the download link?

    quote:
    Download Adobe Contribute CS3
    Thank you for verifying your email address. You will receive
    an email at this address containing a link to your trial shortly.
    If this email has been sent to the incorrect address, please
    go back and enter the correct email address now.
    Yes, I checked the email address. I've been waiting since 4pm
    local time, it's now nearly 9pm.

    It's OK now. I waited 12 hours and went through the whole
    rigmarole again.
    Got the email within a few minutes this time.

  • Ok so I have an iPod touch 4 and I want to get an iPad but don't know if I should get the iPad 2 or wait for the new one. I am 14 years

    iPad 2

    Well, it depends how long you can wait. We can't discuss rumors on here about release dates.
    Look at what you actually need though and decide how soon you need something.
    What you'll want to realize is that every year or two something new will come out.. so you have to learn to fight off the "I need the new one" bug if you want to be satisfied with your purchase.  At your age you probably won't get the opportunity to upgrade for a while, so you'll have to learn to live with your purchase decision longer.
    If the iPad 2 in it's current state does everything you want, and you enjoy playing around on it a lot, I'd get it now and be happy.  If you feel like you want the newest of the new and are willing to wait (in line and for it to release) then you should wait for the next release. 
    The iPad 2s are finally becoming available after many months backlog, so keep in mind the next release will likely be the same way and think if you could really wait that long to get something.
    Alternatively you could also consider getting a used iPad 1, then use that while waiting for the next version. The used one could then be resold for a fair amount once the new one comes out. Apple products tend to have a pretty good resale value, and the iPads are extraordinarily popular.

  • How long should I wait for an invoice?

    I made a Buy It Now Purchase that indicated there was free shipping.   I went to pay for it but I couldn't.   The seller had not indicated a shipping cost - I imagine it would be zero since they offered free shipping.  I emailed them asking for an invoice so I can pay, but haven't heard anything from them.  I'm thinking they forgot about it and went on holiday!   Sent another email today.  Got an email from Ebay telling me to pay, but there's no invoice.  How long do I wait for the seller to send me one?   Thanks.

    The seller had not indicated a shipping cost - I imagine it would be zero since they offered free shipping.  Well, no.If the seller does not indicate a shipping cost to Canada, it means he doesn't plan to ship to Canada.The Free Shipping is domestic only, although some Canadian sellers, listing here on dotCA, will give Free Shipping to Canada, and $0.00 shipping to the USA. Rarely will a US shipper offer the same deal to Canadian buyers.If your seller is in China, he might include the price of shipping in the asking price. (Which is what Free Shipping really means.) Since he has much the same cost for shipping anywhere in the world, he may offer Free Worldwide Shipping.However most Chinese shippers are quite sophisticated and hare set up to bill the customer automatically, precluding the need for communication, which runs into language barriers. To find the shipping cost, go back to the listing, open the Shipping and Handling tab and identify your Canadian postal code. That will give you your shipping cost. If there is no shipping cost to Canada, you have a different problem.The seller may continue to ignore you. This costs him the fees he pays to eBay.He may Report you as an Unwelcome Buyer. This gets the transaction cancelled and his fees back, but I believe it puts a black mark on your Buyer account. (Not an important one.)

  • How long does it take for the auto updater to install a new version?

    I've just seen that Flash v11.4.402.287 is available.  How long should I wait for the auto updater to update my system (currently v11.4.402.278)?
    In the past I have waited 2-3 days and the new version still hasn't been installed, even though the Task Scheduler shows that the auto updater is running.  I've then given up and manually installed the new version as I think that this is too long to wait.
    Thanks

    The good news - the auto update has worked this time and I now have v11.4.402.287.
    The not so good news - I've had a look through both flashinstall.log files and there is nothing strange there.  I can see the times when the auto updater has done the update, and also the last 2 times when I've done the update manually.  There aren't any other entries - i.e. the only entries are for successful installations.
    As the update has worked for me this time I think that this can be closed.
    Thanks for your help.

Maybe you are looking for