Loading time problems (flex 4.1)

Hi.
When I use the Flex SDK 4.1 the loading time of my application is about 30 seconds. When I let the compiler works with the SDK 4.0 the loading time is reduced to about 2 seconds.
Is it normal?
How do I speed up the loading process of the application???

Run the profiler to see what is taking all that time.

Similar Messages

  • Load time issues FLEX swf vs. FLASH swf

    Hello,
    We are building FLex and Flash apps running on Flash 10.1.  In our situation, the load time for a 1080x768 swf is slower when building in Flex than in flash.  We have tried useing the preinitialize event to set at least a loading message, but the delay happens before the preinitialize event.  It seems to take 1-2 seconds to load the FLex API perhaps?  The only visula we can see is the background color of the stage.  Even with a simple nearly empty main canvas, the load is slow enough to be noticable.  More importanly it is faster when using a FLASH swf ( or pure AS3), so it must be related to the FLex aspect.  Is there anyway to cache the common classes or maybe exclude some that are not used?
    Thanks,
    Jeff Schuenke

    The main point of RSLs is to gamble on improving download time of the SWF at
    networks speeds.  The gamble is that someone has already loaded the RSL so
    it gets picked up off the browser cache at hard-drive speeds.  If it isn't
    true, you pay a higher penalty because you are loading an RSL that has code
    in it you aren't using.  That's why the total payload is more.  For the
    record, only the SWF or the SWZ gets loaded, not both.  But even then the
    total payload would be more.
    At home, my DSL/WIFI network gets me about 70KB/sec, so saving 300K would be
    a noticable savings.  If you are loading off a hard disk, 300K probably
    won't be felt.
    The startup sequence of a SWF over a network (http or https):
    -start streaming in SWF bytes
    -when the first frame is downloaded (generally about 80-100K) see how many
    bytes are left to download and if there is a lot, show a progress bar
    -load any RSLs and wait for their download and initialization
    -update the progress bar until the rest of the SWF downloads
    -after the SWF downloads:
        -initialize styles
        -initialize resources
        -prepare embedded fonts
        -setup managers for popups, tooltips, dragging if needed
        -instantiate Application
            -verify and initialize all classes needed by Application
            -dispatch Application preinitialize
            -instantiate the initial set of children for the Application
            -dispatch Application initialize
        -update progress bar to show "initializing"
        -start validation of Application and its children
        -continue to do so until all children are measured and layed out
        -dispatch Application creationComplete
        -add Application to stage (actually systemManager)
        -dispatch Application applicationComplete
    The startup sequence of a SWF on a hard drive is different.  The entire SWF
    must be sucked into memory, unzipped (SWFs are zipped by default) and only
    then do we get to the steps where we show a progress bar, check for RSLs,
    etc.
    At 3MB, there might be a noticeable hit.  You can find a big image file and
    zip it to see if it comes out to about 3MB.  Then use the file system to
    copy it and see how long that takes and then unzip it and see how long that
    takes.
    Another place that causes delay is in the validation of children.  If the
    children's size are not stable right away (because data is coming in that
    affects their size) then several validation passes might be taking place.
    A common error is to create every child in the app, even ones that aren't
    seen or needed right away.  That adds work at validation time and delays the
    startup process.
    I would recommend that you use the performance profiler in Flex Builder to
    see where all the time is being spent.
    However, 3MB is a big SWF. Use of modules to chop off stuff not needed until
    "later" is recommended and will probably be the answer.

  • Load time problems

    http://www.bootleg94.com
    anyone have any ideas on how to cut the load time down on the
    scrolling image gallery. it takes forever so if anyone has a better
    way of doing this and would like to share, please feel free.
    =)

    Please back up your data ASAP! Your drive is dying and you should make a clone of your system (I use SuperDuper!) before it gives up the ghost entirely. Use a firewire external to clone to, then, when you get a new drive, you can simply reverse clone the data onto it and you'll be up and running.

  • Java Synth load time problem

            SynthLookAndFeel lookAndFeel = new SynthLookAndFeel();
            try {
                lookAndFeel.load(
                    getClass()
                        .getResourceAsStream("/galinga/kaynaklar/arabirim.xml"),
                    getClass()
                UIManager.setLookAndFeel(lookAndFeel);
            } catch (Exception e) {
                System.err.println("Couldn't get specified look and feel ("
                    + lookAndFeel
                    + "), for some reason.");
                System.err.println("Using the default look and feel.");
                e.printStackTrace();
            }Applet retrieves slowly images and etc..
    What shoold i do?

    I don't believe 1.3 requires a classpath for the internal stuff - it certainly doesn't on windows and I think that is true on sun.
    I suspect the same is true for the library path. If that is the case then by providing it you might be messing up the internal operation and thus you are getting the problem.

  • My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out.

    I use dial-up, FireFox 5.0, Yahoo addition 1.8. My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out. Using Vista

    I'm having the same problem. Dreamweaver is supper slow. Uploading and downloads from the server... any server I use two different servers. It times out all the time. Menus are slow too.
    I'm on a MAC Pro, 6 gigs of ram no issues with anything else. I have talked to Apple they have checked everything for me. They say it's Dreamweaver. I've noticed the Dreamweaver is talking to the FTP even when I'm not doing anything.
    I've tried cleaning out my MAC caches, turning off file check and check out. Still really slow. I've worked with Dreamweaver for 6 years never any issues like this before. 18 seconds to upload a 4 kb file. 11 seconds to download the same file.

  • Reduce Flex application initial loading time

    Comparing to HTML, Flex's initial load time is very long. How
    to reduce the initial loading time to the level that is
    comparable to HTML's loading time for the page content? Any
    best practice or rules to follow?

    Ok, OK! What's the specs?
    How long is the load time? Please don't say "very long".
    Let's see the spec. Oh, and can you give me a load time for the
    mythologocal HTML page in question, just so I can compare?
    I gotta tell ya, I sometimes take a nap when I'm loading half
    the ASP pages I stumble across nowadays.
    Here's a page from the Los Angeles times--html--- coming in @
    6-7 seconds.
    http://latimesblogs.latimes.com/lanow/2009/02/los-angeles-pay.html
    Another example: from CNN.com, coming in at about 10-11
    seconds. Unbelievable.
    http://www.cnn.com/video/#/video/showbiz/2009/02/03/wynter.simpson.scientology.cnn
    I've got a 350Kb Flex app using RSLs which loads in about 5
    seconds. I'm kicking @ss compared to a lot of professional web
    sites out there. Think that's too slow? Compared to what???

  • Flex Load Time

    I've been trying to find examples of good Flex code and applications on the internet, but I've been having a tough time. Most of the applications I run into seem to have a really long load time, which has me concerned.
    In the way that I plan on using the flex application, that wont do.
    So I was just wondering if someone can link me to some flex applications that don't take 30+ seconds to load. You tend to lose users after about 15+, on average. The internet it impatient, but we all know that.
    Thanks for the help. I'm sure there are plenty of good examples out there that I've just not been able to find. I'm mostly wondering if it's just a thing with flex, but I hope it's not, hence why I'm asking for a little guidance here.

    Seriously? 30 seconds? What kind of connection do you have. I, too, would not stand for anything much above 5 seconds. Can you provide a URL or two that is taking 30 seconds to load?

  • Flex with Xcelsius load XML problem

    I have an Xcelius SWF that reads an XML.
    When i load it in Flex it reads nothing.
    Anyone can help me?
    Thanks.

    Hi,
    You could try using a HTTP Watcher app to see if Xcelsius tries ot communicate ot get the XML file at all, or is could be a local Flash Player security issue (you could try making the SWF trusted).
    Otherwise Adobe Flex has quite a few issues with loading in SWF files not build using exactly the same Flex SDK version (Flex SDK 2 Hotfix 3 for Xcelsius 2008.
    You may want to seach the internet for for Flex Marshall Plan which tries to explain things you can try to do in Flex 3 or later to try to work around this...
    Regards
    Matt

  • Application loading  time optimization

    Hi,
    I have a pretty big application in flex, its loading time is more than 1 minute.
    The swf size now is 1.6MB.
    I have tried breaking the swf into seperate modules, but that didnt improve the performance and have also tried using RSL and referred images at run time didnt work.
    Please let me know a solution to optimize Load time other than doing MVC.

    I an having the same problem "Profiling can only be performed on the debug version of an application".
    The application is compiled with '-debug'.
    I am not sure if this is related, but in the Flex Builder console, a message appears:
    java.lang.IllegalArgumentException: symbol 366 not defined
        at flash.swf.Dictionary.getTag(Dictionary.java:172)
        at flash.swf.TagDecoder.decodeSymbolClass(TagDecoder.java:433)
        at flash.swf.TagDecoder.decodeTag(TagDecoder.java:352)
        at flash.swf.TagDecoder.decodeTags(TagDecoder.java:170)
        at flash.swf.TagDecoder.parse(TagDecoder.java:119)
        at com.adobe.flash.profiler.internal.PlayerSession.swf(PlayerSession.java:570)
        at com.adobe.flash.profiler.internal.ProtocolHandler.readSwf(ProtocolHandler.java:353)
        at com.adobe.flash.profiler.internal.ProtocolHandler.process(ProtocolHandler.java:114)
        at com.adobe.flash.profiler.internal.PlayerSession.run(PlayerSession.java:383)
        at java.lang.Thread.run(Unknown Source)
    My version of Flex Builder is 3.02. The application is compiled (somewhere else) with Flex 4.1,
    could this be the problem ?

  • Can a BIG form be served up one page at a time to avoid long load time?

    Tricks I have read for optimizing the load time of large forms are not helping. Linearization causes the first page to render quickly, but you can't interact with the fields until the whole form finishes loading -- no help there. Is there a way to break the form into pages (without creating entirely separate forms) so the user can fill out a page, hit a Next Page button, fill out that page, etc.? Understood that this is an old school idea, but until Reader can download a 1+ MB form in less time than it takes an average user to get ticked off, old school might do the trick.
    Alternatively, is there a way to construct a form so you can start interacting with it without having to wait for it all to load? This question comes from the (uninformed) assumption that maybe there are forward references that can't be satisfied until all the bits have come over the wire. If that's right, can a multipage form be architected so as to avoid this problem?

    No that technology does not exist yet. There are form level events that need to have the entire document there before they can fire. Also you would have to keep track of where you are so that would mean some sort of session information for each user.

  • Slow BIOS load times

    Hello, I own a T420i and have been experiencing very slow load times on startup.  The "ThinkPad" BIOS screen stays active for roughly 5-10min before continuing like normal.  Once operational the computer works fine other then an occasional freeze up (which becomes extremely annoying with a boot time of 10 min).
    Thanks for any suggestions.

    Hi Epitome, welcome to the forums,
    do you have any external devices, especiall USB storage, attached to the system when booting?  If so please detach them to see if you experience the same problem.
    If the system boots normally please exclude the USB devices from the boot order in BIOS; the system may be scanning them for boot information before moving on to start from the main hard drive.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Improving load times in Linux LabVIEW executable

    I'm looking for (simple) ways to improve the loading times in a Linux LabVIEW executable. We're using a low performance, low cost CPU board, and loading times are terrible. The CPU is capable of doing everything after the application is loaded, but takes forever to get there.
    One of the problems is the size of the executable, that grows everytime you just look at it. Are there ways to create smaller executables? It runs from a Compact Flash card, which is ofcourse much slower than hard disk.
    Another problem is a dynamic vi, that is started for every TCP connection that connects to the application. It takes a long time to load, and connecting too fast can even effectively hang up the system. Starting a handler task takes about half a second, up to a few seconds for the first task.
    We're using the LabVIEW 7.1 runtime, system is a 300 MHz cyrix SBC, running from a Compact Flash.

    Dennisvr wrote:
    I'm looking for
    (simple) ways to improve the loading times in a Linux LabVIEW
    executable. We're using a low performance, low cost CPU board, and
    loading times are terrible. The CPU is capable of doing everything
    after the application is loaded, but takes forever to get there.   One
    of the problems is the size of the executable, that grows everytime you
    just look at it. Are there ways to create smaller executables? It runs
    from a Compact Flash card, which is ofcourse much slower than hard disk.   Another
    problem is a dynamic vi, that is started for every TCP connection that
    connects to the application. It takes a long time to load, and
    connecting too fast can even effectively hang up the system. Starting a
    handler task takes about half a second, up to a few seconds for the
    first task.   We're using the LabVIEW 7.1 runtime, system is a 300 MHz cyrix SBC, running from a Compact Flash.
    I'm
    not sure about the first part of your question. LabVIEW is highly
    binary and does a lot of memory allocations before even one VI is ready
    to be started. So maybe the memory manager is a problem. Another issue
    is that the Macintosh like resource file format that is used by LabVIEW to store its VIs etc. results in
    lots and lots of individual disk accesses with a rther random like
    character inside a single file. So if you can configure the read
    caching of your disk to use more memory this may significantly increase
    the speed of loading LabVIEW VIs or applications.
    And finally spawning VIs through VI server is a rather costly operation
    especially on low resoruce systems. A VI is more like an executable in
    many ways as far as resource consumption is concerned rather than a
    thread. A much better way would be to avoid spawning subVIs altogether
    and implement a queued TCP/IP server similar to the Date Time Server
    example. It is a little extra work to work with this shift register
    architecture but it will not have the issues of long load times for
    every new TCP/IP connection coming in.
    Rolf Kalbermatter
    Message Edited by rolfk on 03-07-2006 06:33 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Long load times.  software? hardware? downloads?

    in the past few hours i have developed the problem of longer thn normal load times. they went from .25 sec up to 5 or 6sec idk what to do my software ugrades are from earliest to latest, stuffit, wmp for mac osx, istat pro, core duo temp and i have 512 mb of ram any suggestions? oh i have been running itunes and safari

    Typical with all computers usually. It's where programs get loaded into RAM and not fully cleared out. Once you reboot the memory gets reset and it's a clean slate. If it's killing performance that much, then why not upgrade the RAM?

  • Super Slow Load Times

    I am having ridiculously long load times under Logic 9.1.1... up to five minutes for some projects. This is happening in both 32 and 64 bit modes. Anyone have a similar experience or a workaround?

    I am sorry that you are experiencing that problem. based on my research I found that a user was experiencing the same problems and he/she states that it is a hard disk's latency problem.
    Read it more here:
    http://www.sonicstate.com/news/2010/01/17/wnamm10-synthogy-ivory-version-2/
    Let me know if you found this information helpful.
    Vicente Tulliano

  • Very slow load times on EXS24 instruments?

    Hi everyone - I have a troublesome problem..
    At the moment this only seems to happen garage band instruments loaded in exs24
    When I try to load instruments from garageband i get to enjoy the spinning wheel and about 3 minutes of load time [and this wouldnt be the first stime i would have loaded the instrument]
    When it does finally cease spinning it asks me to choose between the garage band samples, or dupe sampler files in self contained projects.
    I always pick the garageband directory..
    Is there a way to decrease the loading time?

    This tends to happen when you have more than one copy of the EXS sample on your drive network. As soon as EXS sees two of a sample, especially if there is no existing direct link in the EXS instrument, it will tend to scan your whole system for any and all potential duplicates. This can take a while.
    My only suggestion is delete the duplicate samples and make sure your instruments all contain path links to the appropriate samples. Bear in mind that if you store samples in the project folder, at least those should be found quickly, but it will not solve the problem of loading new patches into the project.
    To be able to find and get rid of duplicate samples and re-establish the links in a batch fashion, I highly reccommend EXS manager by Redmatica.
    www.redmatica.com

Maybe you are looking for

  • Can you trade in more than broken ipod touch at a time?

    we have had a lot of accidents with our ipod touches in our 11 people family, we probably have 4 or more 3rd generations lying around not doing anything, my sister has a working ipad, but she wants to get a 5th generation ipod touch, can she trade in

  • Unable to open the database

    I am not able to open the database: Following are the facts and things I have done so far 1)     database is in NONARCHIVE mode 2)     database backed up by using datafiles, controlfile, logfiles etc 3)     datafiles, controlfile and logfiles are out

  • How do I encrypt/password protect an external drive?

    Hey, I have over 80 gigs of music saved on an external hard drive I use with my MBP. I take this disk to different studios, etc and want to make sure that I am the only one who can access the external drive when it is plugged into a computer. Is ther

  • DESADV.DELVRY 03 IDOC to file  Issue with Mapping

    Hi All, We have DESADV.DELVRY03 used in this scenario. The Header Text Field : E1TXTH8 had the segment :TDID(Text ID) . The Codition is : If TDID =9500 Condition , then the field of :E1EDL41 - BSTNR (Customer PO number ) should be mapped , sent as fi

  • InDesign CS5 will not import Alpha Channels from images saved in Photoshop CS6

    Just searched through the forums to find this thread in the (now-Read Only) Photoshop CS6 Beta forum: http://forums.adobe.com/message/4310886 Which is exactly the same issue I'm having. I just cropped about a 1000 images with alphas originally create