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???

Similar Messages

  • Java SP's - Initial Load Time!

    FYI, We are running Oracle 8.1.7 on HP/UX 11.0 using Java Stored Procedures.
    The Java stored procedures work fine (sub-second performance) after being loaded into memory, but the initial load time can be anywhere from 2 to 3 seconds. When you have 30+ Java stored procedures, the initial startup causes table locking and contention that will cause our app to crash.
    Rewriting these Java SP's in PL/SQL shows that PL/SQL is immune to this initial load time (to a much lesser degree). Besides rewriting my application to read all of the Java SP's into memory before app startup, is there anything I can do on the Oracle server side to improve (or eliminate) load times for Java Stored Procedures?
    Thanks!

    Hi Sonja,
    maybe you can help me:
    I want to map a portal role (     pcd:portal_content/every_user/general/eu_role) to a user. So I use the SAP Provisioning Framework with the Job "SetJavaRole&GroupForUser". But I get following exception:
    putNextEntry failed storingSPML.SAPUSER.3010
    Exception from Add operation:com.sap.idm.ic.ToPassException: No such objectclass defined
    Exception from Modify operation:com.sap.idm.ic.ToPassException: SPML exception: Could not update
    user The given id "$FUNCTION.sap_getSPMLRoles(2371!!NEW_UME!!pcd:portal_content/every_user
    /general/eu_role)"is not a unique id of a role!
    In the "destination" tab of the job I entered the following values:
         SPMLID             SPML.SAPUSER.%MSKEYVALUE%
         assignedroles     $FUNCTION.sap_getSPMLRoles(%MSKEY%!!%$rep.$NAME%!!pcd:portal_content/every_user/general/eu_role)
    I have no idea what's wrong in here...
    Maybe you or someone else can help me...?!

  • How to start Flash Media Encoder 3.2 from Flex application with run time parameters?

    Hello ,
    I'm developing the application to stream High Quality video.While streming by default camera/microphone settings the qulaity of streaming is not upto my expected level.I want to stream through Flash Media Encoder.My aim is the user login to the application.Video/audio qulaity details are retrived from shared object stored in the client machine.The login user name only gathered at run time & it will be the streaming profile name to Encoder.Once the the Encoder started the outgoing video will be come into screen to client.Please guide me How to start Flash Media Encoder 3.2 from Flex application with run time parameters(User name as  streaming name) without manually start the FME?
    Thanks in advance.
    Regards
    Sasharyuva

    Hi MarcSaphiron,
    Could you please send the samples?It will be much helpful to complete my
    job within the deadline.
    Thanks in advance.
    Regards,
    Sasharyuva

  • Stop flex application to load after clicking of stop button on browser

    Hi,
    I am running in a problem where i have the flex application, while loading the application in the middle of the application page i want to stop loading the application on clicking of browsers stop button.
    Please help me....
    thanks in advance...

    One technique woudl be to create a new button that the user would interpret as the submit button (I will call this a pseudo submit button). You would make the real submit button invisible (so the user cannot see it or click on it, but it can still be used programmatically). Now on the pseudo submit button put your code to validate your information. If this validation passes then click the real submit button. To do this run this code:
    submitbuttonname.execEvent("click");
    If the validation fails then put a message up. In this technique the real submit cannot be pushed until the validate succeeds.
    Hope this helps.

  • How to ensure that latest version of Flex application is loaded

    Hello experts
    I have a bit of dilemma here. I am working on application which is going to be used at various locations (globally).
    Level of technical knowledge of users varies quite a lot so do operating systems authorizations of the PCs they are working on (various companies with different level of security).
    At the moment I am facing issue where some users are still using older release of the Flex application even after refresh and deletion of temporary internet files.
    Is there any way to ensure (using some AS code or Flex project settings) that only latest versions of SWF files are loaded (not the one from buffer/cache)?
    Regards
    Michael

    BTW, I have added following line to the HTML template/wrapper:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    but it is still picking up older version of SWF file on certain PCs. It does read latest HTML (wrapper) file though. Seems that caching is only enabled for either certain file types or files exceeding certain size.
    I have decided to do something a bit daft (or cheeky, depends how you look at it) as temporary solution and rename 2 main files (main SWF and HTML) to something like:
    Application_name_ver_XYZ.*
    It can be done in couple of minutes after release build has been exported (no need to update project itself). That way I can fool browser so it will pick up latest version (since its different file with different name).
    Main application consists of 10+ modules and some of them are compiled into separate SWF files. I am loading them inside application using ModuleLoader component. I have set parameter cachePolicy to "off" as I am not going to rename all these modules each time I am releasing new version of application.
    The end result is that main application is refreshed but all modules that are being loaded are picked up from cache (old versions).
    So as a last resort I have decided to change folder name of my application. That way all the files (main app and modules) are considered as new files since location of all of them has changed. It is just a workaround, it does work but it carries certain risks. If user will use old link application will still load (older version) and then consequences can be catastrophic (even corruption of data).
    Has anyone experienced same issues?
    I know these are more browser/network issues but how do I deal with them. Some of these people cant ask IT for support (for various reasons). Is there anything else I can do to ensure that users across the board will use latest version of application?
    Regards
    Michael

  • Webdynpro loading wheel during application initial load

    Hi Experts,
         I need your help in a peculiar webdynpro scenario in our project.
    I need to execute a webservice during the initial load of the application itself so I am calling it in doInit of component controller. There is no problem in Webservice execution, but it only takes time, about 30 seconds. Time is not an issue, but during this time only a blank white screen is displayed in the browser. The usual webdynpro wheel is not rotating to show that the application is loading.
    Yes, it is because I call the webservice in doInit that is run before the load of the view and so the wheel is not coming. After the first screen, for any other action, wheel is coming. But, I need to show this wheel during the first load of the application also. To accomplish this, where can I call the webservice execution?. Is there any other way to call webservice during the load and to get the loading wheel or to show any message like "Application is loading. Please wait..." when it loads? Share your knowledge on this pleaseu2026
    Regards,
    Vijay.K

    Hi J,
       Thanks for your answer.
    Meanwhile, i found the same solution in a detailed manner in the following blog.
    /people/valery.silaev/blog/2006/10/09/loading-please-wait
    It was not necessary to use a separate view, but i could toggle between the visibility of some containers and  disable the Timer UI element after calling the webservice. This way i am also able to show a message 'Application is being loaded. please wait..."
    Thanks again.
    Regards,
    Vijay.K

  • Flex Application Not loading in case of using RSL.

    If anyone can help, I release my Flex Application using RSL but now this appication is not loading on some system. I upload application.swf and framework_3.0.0.477.swz and also crossdomain.xml but application not uploading and getting error  #2032.

    Search the internet for solutions for that error.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Slow initial load time - URGENT

    I created some business component forms in jdeveloper 3.2.3. For some reason, it takes 15 seconds to load any of the forms for the first time (afterwards, it only takes 2 seconds). I get the same timings regardless of the number of rowsets I use.
    It takes 15 secs for a screen with 1 rowset and for a screen with 5 rowsets. It also is slow running in jdeveloper and in production.
    That is unacceptable for my end users (they are ready to reject the project because of it).
    If I remove the jbInit call from the program, the load time goes down to 5 secs (which would probably be acceptable), but then I lose the navigation.
    Is there any way to speed up the initial load?
    TIA.

    If this is a wizard generated form, was there any modification made ?. The jbInit
    code by default sets up the InfoProducer objects. The ApplicationModule is then
    created and queries executed when the publisSession method is called on the SessionInfo
    object. This publishSession by default happens after the jbInit code. I would imagine
    the publishSession method to take more time in comparision to jbInit code which
    typically instantiates the UI elements and creates your form. Is there any other
    setup that happens in jbinit ?.
    If I remove the jbInit call from the program, the load time goes down to 5 secs
    (which would probably be acceptable), but then I lose the navigation. Could you provide more info., on what you mean by navigation ?. Is is the setup of
    the navigation bar and menu you are referring to ?.
    HTH,
    Sathish

  • Powerview report initial loading time from Sharepoint bottle neck for almost 5 seconds

    I would like to ask:
    Beside the SQL Server CU10 patch update and sharepoint component update, is there some work around we can do to booze the initial load of 5 second performance bottle neck for Powerview connection?
    e.g. run some schedule job to keep connection with power view service?

    Hi Johnny,
    If we render a Power View report that uses a PowerPivot workbook as its data source, slow performance might occur while the report is rendered. To work around this issue, we can refer to the following methods:
    Reduce the complexity and number of sheets within the PowerPivot workbook.
    Limit the number of Excel sheets and the complexity of what is located on them.
    Limit the number of items on the Power View report.
    Besides, I recommend you refer to the following article to troubleshoot Power View report performance issue:
    http://blogs.msdn.com/b/psssql/archive/2013/07/29/tracking-down-power-view-performance-problems.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Photoshop CC 2014 unusual long initial loading time.

    Never had this problem with Photoshop CS6.
    OSX Yosemite
    Macbook Pro Retina 2013
    Just bought CC last night, every time I open Photoshop CC, the app works fine for a few second (before the welcome screen popup) then goes into a 45sec - 1min loading, the mouse pointer changes to the rainbow spinner during the period of time and Photoshop isnt responding to any input. After the loading is done, the welcome screen pops open and everything is fine again...its very strange and frustrating.
    This is all happening without opening any image files, just trying to run PS itself.
    Any ideas?

    As you can see from the crash details, your AMD video card driver is crashing.
    You need to update your video card driver from AMD's website (not Microsoft or a system builder).

  • Performance Of Flex Application?

    Hello all
        Recently I went through video tutorials of flex and found it to be great.But I have one question regarding performance. If I am not wrong then Flex application works like this, Entire application is converted into swf file and for navigation between pages of application there is concept of states.Whatever data is required for different states is  get by using HTTPService,WebService etc . wheras if  we talk about normal web application built using PHP every page and data is loaded from server .For each navigation, data plus markup(HTML/DHTML CSS javascript etc.) to show that data or content is loaded.It has a benefit of downloading only that part of application which is required.
           For example if we have shoping store applicatiion and it has a search page and product list page to display products list in different formats like grid or table then markup plus data in normal web application will be loaded with each request.If user click on search page only then that  page is loaded from server and if user want to view the search results in table format only then that page is loaded.
       I want to know how this work in Flex application.For data part It is clear that for each state whatever data is required is get by using services like HTTPService,WebService etc. But how state presentation part is get?Is the entire swf file containing all states related information is loaded before running the applicatio? For example as in our previous example presentation part of all states like shopping store serch state, product list in table format state and product list  in grid format state in the begining of application .later on if user click on search link it will already have that state view information and it will get data for search  part and put that data into view and present it to the user.For search result also it will  be already having information about how to present that data  so it will get data  only and present it to user.
        If Flex works as i stated above then if we have very big application with many different stats then user has to wait for the loading time off all the states.Or there is provision for some backgroud loading of states that as soon as user request the application first time he gets the first view and then on other states are loaded in backgroud?
       If all the states are loaded at begining of application then what will be performance of application with many states?(Means in that case swf file of compiled application will be of big size and it will take time to load in browser.)
      can anybody tell  me about all  these things in detail.I am sorry if my understanding of Flex is wrong.I am newbie.
    Thanks in advance .

    This seems more of an RIA performance question than a Flex specific one.  Honestly though, modules aren't needed often in my experience (depends greatly on requirements).
    You say that "only the part of the application that is needed" is downloaded, while this is technically true (a bit of an oversimplification as there are other advantages to be had from RIAs), you still have the round trip time required for every single request to the server.  Since an RIA is generally a single bulk download (which may not even be needed if there's caching going on), usually you're talking about a single wait of a few seconds for loading vs multiple waits of a few seconds for page refreshes. 
    Even if the initial load time is as much as ~10 seconds (for the first visit), does that outweigh the 1 to 3+ second page refresh penalty constantly interrupting the user's work flow over time?  Also consider Flex's AMF protocol, which blows competing formats (esp XML based) out of the water on performance.  RIAs (especially Flex) win the performance game.

  • Jive Forums Load Time

    Hi,
    We have installed Jive Forums on our NW 7 SPS 14 portal and, for the most part, it is fine. We do have an occasional issue in that the initial load time can be over 40 seconds for the application to appear. Subsequent loads are fine. Sadly, there is no consistency across which server this happens or to which user (often it is less than 3 seconds). This happens in both our clustered production and non-clustered development environments.
    Anybody got any pointers as to where to look next?
    Neil.

    Well I just timed it:
    56 seconds from hitting the reply button until an edit postion..
    I append I screenshot I made after 10 seconds:
    see attachment
    This stays the same while the status bar of Firefox 2.0 says: Connecting with forums.ni.com and waitn for forums.ni.com
    Ton
    Message Edited by TonP on 01-27-2007 08:49 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    LoadTime.PNG ‏45 KB

  • Can this html code be changed to speed up the image load time?

    I found some html that creates a auto running slide show. I've got three images (small image sizes) but it is slow to start up when the page is first opened. http://web.me.com/phelpssculpture/Site/test.html this is the escaped code:
    <center><img id='imageholder' src='' ></img></center>
    <script type='text/javascript'>
    images = new Array();
    images.push('http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/royalprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/Lovetest.jpg');
    var image_index = 0;
    function rotateImage() {
    if (image_index == images.length - 1) { image_index = 0 } else { image_index++ }
    document.getElementById('imageholder').src = images[image_index];
    setInterval('rotateImage()', 5000);
    </script>
    I have a page: http://web.me.com/phelpssculpture/Site/Resume.html
    that has a rollover image (from OldToad) that has two images about the same file size and located in the same folder on my iDisk as the other slide show images but it seems to load instantly.
    this is the escaped code:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    loadImage1 = new Image();
    loadImage1.src="http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg";
    staticImage1 = new Image();
    staticImage1.src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg";
    // End -->
    </script>
    <a href="http://web.mac.com/phelpssculpture/Site/royal.html" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
    <img name="image1" src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg" border=0></a>
    Does anyone know if it's possible to improve the html of the slideshow snippet to speed up the initial load time?
    Thanks, David

    Ethmoid:
    There are seven different pages: http://web.me.com/phelpssculpture/Site/movieroyal_davidphelps.html
    Each link is directed to a different page.
    I created the basic layout on one page and then duplicated the page six times.
    the links are in one text box ( that's why they're lined up well ) and each individual word is activated as a link. I changed the background color of the forward tab to match the color of the main shape and used the send forward or send backward command to get the tabs to look right on each page.
    The only problem with the words being in a single text box is that explorer doesn't render the spacing correctly and they fall off their respective tabs. When I get time I will put each word in it's own text box ( it's not that hard to align them ) so it will render properly in explorer.
    Sincerely, David Phelps

  • ? regarding firewire 800 load time

    Hi all. I recently purchased a new imac i5 27" and at the same time purchased a G-Force 3TB Hard Drive. I keep my iphoto library and itunes library on the external drive and have encountered what I consider an annoyance but am unsure if it is normal or not. I have itunes and iphoto set to automatically open when my computer is restarted, as both libraries are on the external drive neither itunes or iphoto can load unless the external drive is fully operation and on the desktop once OS X has loaded.
    When using either of the G-Force's Firewire 800 ports to connect to the iMac it takes 12-15 seconds for the G-Force hard drive icon to load onto the desktop once OS X has loaded. Of course by this time iTunes & iPhoto have both attempted to load and can not as the G-Force hard drive still hasn't loaded. However if I use the G-Force's USB 2.0 to connect to the iMac the external had drive is always loaded by the time the desktop comes up and this of course negates the problem I have been having with the initial load of itunes and iPhoto.
    Is it par for the course that Firewire 800 takes longer to startup? It would seem counter intuitive to me but I don't have much experience with it? Or perhaps it's just this particular external hard drive (or it's FW 800 ports) that is causing the long initial load time, however that wouldn't explain why when using USB 2.0 on the hard drive I don't have this problem.
    The bottom line is that for the meantime I will have to use USB 2.0 as I really like to have itunes & iPhoto open at launch. I can't say I'm loving the G-Force 3TB as this is my second unit, the first returned due to long read/write times, so perhaps not all Firewire 800 drives take so long to load? Any insight would be appreciated. Thx

    Is it par for the course that Firewire 800 takes longer to startup?
    No.
    I have a 1.0TB external drive connected via FW800. I've partitioned it into three volumes. On booting or restarting, when the desktop is first displayed all three volumes are displayed with it. No delays at all.
    The delay you experience could well be something peculiar to your drive.

  • ADF Table load time

    this.getCmSubscriberNewView1().executeEmptyRowSet();
    Hi,
    JDeveloper 11.1.1.3.0v
    I have 6 tables in my jspx page and before loading the page. I am calling the AM method to clear the previous data by the below code.
    this.getCmSubsw1().executeEmptyRowSet();
    Now my issue is, even though I call this executeEmptyRowSet, table is taking long time to load. I dont want any execution of my VO object's at the time of page load.
    All I want is, when ever user clicks on search button, these vo's should get executed and load the data.
    Please let me know how to achieve this.
    Thanks.

    Hi,
    beside that there seems to be something with your query when the initial load time takes ages, you can set the refresh condition on the iterator in the PageDef file to not query the data. For example, set the refresh condition to a managed bean attribute which returns false by default. Then, when the user clicks a button to query the table, set the attribute to "true". Make sure the managed bean is in viewScope so that when you navigate away from the page to then come back, it does show empty again
    Frank

Maybe you are looking for

  • Value field in cost element

    Dear Experts, I am facing an error after running copa cycle (cost allocation) through keu5.It is showing ''value field is not assigned to cost element this this.How to get the details of warning message showing in red ? Regards Partha

  • Issue with Tomcat + Struts  please help.

    I'm developing in Struts Action Framework using Tomcat 5.5.12 as server, Eclipse IDE with Exadel plugin for Struts development. My application right now only uses a single .jsp as my view component. This jsp, called index1.jsp uses <jsp:include page=

  • PS Project not appearing in cProjects Accouting tab

    I am able to create the PS Project from cProjects through status management (Flag for transfer) after the required accounting intergation and other configurations. However, I have a concern when I am linking an existing PS project to a newly created

  • Strange problem installing Snow Leopard

    Hey! I've tried too install Snow Leopard and i go through all the usual steps, it installs and then restarts just like its supposed to but then when i get to the desktop nothing has changed. I've clicked on 'About This Mac' and it still says 10.5.8.

  • Could not submit the request to create database 'Name'.

    Hi, I had pay-as-you-go subscription. After getting Bizspark subscription, I took backup of database and website. I disabled pay-as-you-go subscription. When I tried to create MS SQL Server database, it is giving me "Could not submit the request to c