AIR browser is slow to load AJAX app & kills CPU

We have an AIR app, which mostly provides an AIR browser wrapper for our Web app.  The Web app consists of AJAX and embedded Flash.  The performance difference of the AIR browser versus a typical browser (Firefox, Chrome, etc.) is huge!  To compare Wep apps performance:
Chrome
CPU: 30%
RAM: 250 MB
Page load: 2 seconds
AIR Browser:  (Using latest version of AIR runtime) 
CPU: >90%
RAM: 120 MB   (Why so low?)
Page load: 5-10 secons
How can this be tuned?  Is there a reason that the AIR browser doesn't use as much RAM?  Is there a reason that it's using more CPU?  Are the two related?
Thanks!

bradledford2 -
Just like you, an HTML/Javascript commercial Adobe AIR 3.0 app I'm currently developing for a client is SO SLOOWWW on both my Windows 7 (64 bit, 12G RAM) and Windows XP (32 bit, 4G RAM) machines, especially Mouseover, Mouseout and Click events on event-handled hyperlinks and buttons. Generally, the UI is so unresponsive it takes about a second or more for the above mouse events' handlers to fire.
I tried both event-handling (listener) and event delegation (which is supposed to be faster in managing a bigger number of elements) implementations for the target elements (about 400 links on a table grid), but it made very little difference on the performance on Windows 7 and XP.
I also tried packaging the app using the old 2.7.1 SDK, but it didn't make any difference.
BUT..
Lo and behold, the same app performs very well on my Mac OS X 10.6.8, and the Mouseover, Mouseout and Click event handlers fire instantly (whether it is via the event-handler or event-delegation implementation). So, no performance problem on the Mac!
Chris Campbell is pinging the right people at Adobe. I'm desperate to get advice from them on a temporarily solution to the problem while they try to fix it.
Oscar

Similar Messages

  • Major performance issue: AIR browser is slow to load AJAX app & kills CPU

    Hello,
    This issue for so long. I tried to submit a ticket that was erased.
    Here's someone else talking about that topic: http://forums.adobe.com/message/3896291#3896291
    My question - Is there a solution ahead or I have to wait patiently that all my clients uninstall the application?

    The bug referenced in that thread, AIR browser is slow to load AJAX app, is still open/to track.  Based off the notes from Jian on Nov 6th, we've been able to reproduce the issue but it does not have enough votes to qualify for our current releases.  We need additional users to cast their votes that this is impacting their applications. 
    There is a note on November 11th, that suggests that removing inset box shadows can resolve this issue in some cases.  This is most likely similar to other known bugs where -webkit-box-shadow impacts performance on Windows.  All cases have been deferred at this time as the solution is not trivial to address (I've personally entered this bug at least twice.)
    Chris

  • My macbook air is so slow at loading web pages

    Why is my Macbook Air suddenly so slow at loading web pages?

    Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers.
    Have you restarted your router and your broadband device (if they're separate) since you first noticed the problem? If not, do that now and see whether there's any change.
    If your browser is Safari, then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Any change?
    If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked
              Stop plug-ins to save power
    Any change?
    Quit and relaunch the browser. Any change?
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Enable Private Browsing in the Safari menu. Any change?
    Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?
    If other browsers and Internet applications are also affected, follow these instructions and test. Any change?
    If Parental Controls is active for any user, please turn it off and test. Any change?
    If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?
    Open the iCloud preference pane and uncheck the box marked Photo Stream, if it's checked. Any change?
    Are there any other devices on the same network that can browse the Web, and are they affected?
    If you can test Safari on another network, is it the same there?
    If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

  • Can't open/use excel file. Tried sheet to go xls, even through air browser, it just says loading, and never opens.

     Tried sheet to go xls, even through air browser, it just says loading, and never opens. The file works fine on my laptop. Am I doing something wrong?
    Here is  a link where I'm attempting to use the excel files from.
    http://residential.climatemaster.com/dealers_area/​tools.html
    At the bottom of the left hand column there is a few xls. files.  I'm attempting to use the pressure drop calculator and sales proposal.
    Please let me know if there is a way to use these on my Playbook.
    Thanks

    Slaes proposal opened for me. The pressure drop one did not open on playbook but did open on my torch 9860
    Hope Tuesdays update will allow it to he open.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Browser(s) slow to load

    Hi There,
    this seems to be an isolated problem on my machine. Other machines on my network seem fine.
    Both Safari and Firefox are agonisingly slow to load some pages. Most notably Facebook and Youtube
    Is there a way to clear a global cache? or firewall? or something?....
    It wasn't always like this. I've repaired permissions, and restarted and all the usual things countless times. My system software is up to date.
    Thanks in advance,
    Charles

    Perform the #12 OnyX cache cleaning routine here
    Step by Step to fix your Mac

  • MacBook Pro (mid 2010) - Slow Startup and Initial Load of Apps after Mavericks Install

    Hello everyone,
    Long time Snow Leopard user here.  I've been absolutely, 100% thrilled with my MBP's performance / speed since mid 2010.  Since installing Mavericks I've noticed two things:
    1. Initial on boot load times seem much slower
    2.  The first time you open an app (Safari, even TextEdit) is far slower than in Snow Leopard.
    Now granted, once the computer has been on for about 5 minutes, and once you've had an application open for 1-2 minutes, than performance is okay once again.  But it seems that quite literally everytime you do "anything" for the first time since the computer has been turned on you run the risk of a spinning beachball and an extended wait.  This simply never happened in Snow Leopard.
    I'm not a computer science major but I do understand that when you do something for the first time since a reboot it will need to load new files into the RAM which takes time.  However, I've been using this computer since 2010 and have never experienced this behavior / speed / delay, etc... something seems fundamentally different.
    For example, even just opening finder, and navigating to the Applications folder results in sluggish behavior the first time.  Also, anytime you first click the top menu bar in an application you run the risk of a beachball.
    It doesn't seem like a failing hard drive because I can read/write large chunks of data one an app is finally loaded.  It's just initially loading the app takes quite literally 10-20 times longer than Snow Leopard.  It seems like perhaps Mavericks itself, the core of the new OS was perhaps installed in a bad sector of the HD, but none of my other files are on bad sectors... if that makes sense.  Again - I'm not a computer science major so I'm largely just making things up
    It also seems as if multitasking and switching between several open apps has seen a decrease in performance.  Could it be that perhaps Mavericks RAM management is superior to Snow Leopard, but only if there is a TON of RAM to go around?  Could it be as simple as Macs with only  4GB installed should not be allowed to even install Mavericks? 
    Does this sound normal for Mavericks considering I have a C2D processor, a non SSD, and only 4GB ram?  I know those specs are "outdated" for 2014, but keep in mind these were the specs that I've always had and with Snow Leoapard I was consistently thrilled with the speed of the computer.
    I suppose my question is: should my strategy be to simply turn the computer on, get a cup of coffee and let everything load and maybe even have my frequently used apps load on startup, etc... and carry on as normal?  Does something seem off?  Should I invest in a new SSD / RAM upgrade?  I know the upgrades couldn't hurt, but the issue is that I was perfectly content until upgrading to Mavericks
    I've tried booting into OS X Recovery mode and using the Disk Utility.  I've tried Safe Mode.  I've included a "EtreCheck" report below.  I'm open to any ideas / suggestions.
    Thanks!!
    Hardware Information:
              MacBook Pro (13-inch, Mid 2010)
              MacBook Pro - model: MacBookPro7,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 320M - VRAM: 256 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 0:10:48
    Disk Information:
              Hitachi HTS545025B9SA02 disk0 : (250.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 249.2 GB (228.46 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-898 
    USB Information:
              Apple Inc. Built-in iSight
              Apple, Inc. Keyboard Hub
                        Logitech USB Receiver
                        Apple Inc. Apple Keyboard
              Apple Internal Memory Card Reader
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
    Launch Agents:
              [System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [System] com.adobe.AdobeCreativeCloud.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
    User Login Items:
              None
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 11.9.900.152 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 11.9.900.152 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.3
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
              AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Old Applications:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   4%          WindowServer
                   1%          EtreCheck
                   0%          mds
                   0%          mds_stores
                   0%          airportd
    Top Processes by Memory:
              111 MB          com.apple.IconServicesAgent
              94 MB          Finder
              57 MB          Dock
              53 MB          SystemUIServer
              53 MB          EtreCheck
    Virtual Memory Information:
              1.64 GB          Free RAM
              1.42 GB          Active RAM
              314 MB          Inactive RAM
              390 MB          Wired RAM
              316 MB          Page-ins
              0 B          Page-outs

    Wish I could be of some help, but I'm having similar issues on my mid 2011 macbook pro with 8 GB ram. It's very frustrating. I haven't worked on a computer this slow since the early 90's. Even simple things like signing in to this site bring up the beach ball for maybe ten seconds. When opening up apps I often have to wait minutes, and often end up force quitting when they hang. I'm using force quit a dozen or more times a day, when it used to be very rare.
    I don't know if it's Mavericks. I installed a new hard drive in November, but the problems really started getting bad since the latest upgrade.
    It's not just opening apps. If I have an app open in the background and switch to it I have similar issues. Watching a simple video is often accompanied by stalls and delays - which is really bad as I'm often using the laptop to edit video. It's become unuseable for work.
    Perhaps the most frustrating is clicking on a link, only to find Safari decides to complete a previous scroll that it had paused. The page jumps down, and sometimes I end up clicking on a link I didn't want. Then I have to wait for THAT spinning beach ball before I can go back to the previous spinning beach ball.
    It can take up to ten minutes to restart. I've tried everything I could find on these pages so far, and nothing has worked.
    I thought maybe it was something I've done (and perhaps it is), but I keep seeing others with similar issues.

  • Brand New Ipad Air is downloading slow, and apps are not finishing

    I just bought this and am regretting my $600 investment.  I've spent over 4 hours trying to figure this thing out.  Safari is the slowest browser I have ever used.  Apps do not complete downloading/ installing.  I have reset my wireless, and my high speed internet wirks better with all my older pc's.  This is brand new and I don't want to go back to the apple store, or talk to support and be insulted when they tell me it's my wireless. 

    I'm having the same problem actually.  I'm thinking it's an issue with the store, not the device.  Even loading up iBooks on my mac has been a bit slow tonight.
    Maybe it's just overloaded at the moment?

  • How do I stop the Atomic Browser on my iPod Touch from allowing websites to automatically load my App Store app?

    I have the Bejeweled Blitz app (for Facebooik) on my iPod Touch 4th gen.  If I want to find gems (special items used in Bejeweled) I have to use a browser (I'm using Atomic Browser) on my iPod so I can grab gems from Facebook's news feed.  What's SUPPOSE to happen is this:
    I set Atomic on my iPod to identify itself as Safari mobile (because the Bejeweled Blitz app on the iPod only recognizes Safari).
    I load my Bejeweled app on my ipod.
    I log into Facebook with Atomic and scan the news feed for gems and click on a gem.Atomic opens a new tab and tries to load the link.My iPod then switches from Atomic to my Bejeweled Blitz app and the gem appears in my game.
    When I'm done with the game, I double click Home and swtich back to Atomic.
    I close the new tab and search the news feed for the next gem.
    HOWEVER, the problem is this:  About two-thirds of the time, when Atomic opens a new tab to load the link, instead of my iPod swtching to Bejeweled Blitz, it opens my App Store app and takes me to the Bejeweled Blitz app download page.  Sometimes the problem occurs when I'm done with my game:  i.e., when I go back to the browser, the iPod swtiches from Atomic and loads the App Store app before I even have a chance to close the tab.  It's a big pain in the neck because it takes a long time for the App Store app to load and when I go back to my Bejeweled Bltz app, it acts like it got dumped from memory and has to restart.
    So... How do I make it so that my App Store app ONLY loads when I personally select the app myself?

    Covered in the settings section of the manual:
    iPod touch User Guide (For iOS 5.1 Software)

  • Why is the SMS app so slow to load?

    Is it just me or is the SMS app really slow to load?
    7 seconds seems a lot to me.
    How is it for u?
    How can I improve the loading time?
    Thank you

    I don't know why Apple doesn't fix this problem or even acknowledge it. I have had this problem since 1.1.2. Upgrading through 1.1.3, 1.1.4 and on the 2.1 has not helped. My SMS loading time varies between 3 and 10 seconds. I maintain all my SMS messages deleted (which I should not have to do). Due to lack of support from Apple I purchased a Nokia phone for my son. At least basic phone features work like they should.

  • Using the Air Browser inside an Air Desktop App - how to activate webgl?

    Hello,
    I´m using Adobe Air/Flex to build a Desktop App. Inside the App the user should be able to access an Internet Browser. This part is actually working so far.
    BUT:   THE ADOBE AIR BROWSER IS NOT SUPPORTING WEBGL.
    Is there any method to activate the WebGL Support so I could open WebGL-Dependent URLs from Inside my Desktop App?
    Sure, I could tell the User he should Alt+Tab to switch to an WebGL-Compatible Browser, but it would so much better if this all would work from inside my Application.
    Thanks for answering!
    Stefan

    Hi Krazy,
    With the monitor and Bluetooth peripherals connected, when you close the lid the machine will begin the sleep process. The Bluetooth (if set to wake the machine, which it should) when you activate one of the Bluetooth will then wake the machine and you're free to use it normally.
    To answer your last question, you can turn off the machine and leave the setup as is without any problems.

  • Web pages loading unusually slow. Load fine in alt browser

    Web pages on numerous sites very slow to load. Even coming to Firefox to report. Including some pages coming up error as if there is no connection. I tried alternative browser and the pages load fine. I could have stayed on that browser but ff has always been my goto.
    I have a nexus 7 (suppose I should say 1st gen now) running 4.3.

    There are some problems with the new Android version (4.3), they should be fixed very soon (12-24 weeks), there is a solution, use firefox nightly, the superbeta version of firefox 26.
    DOWNLOAD FROM: nightly.mozilla.org
    Does the nightly work better?

  • Java Apps ridiculously slow to load

    I have a pro with osx 10.8.2 and 8gb of ram.  Over the last few days my java apps are beyond painfully slow to load.  Either the icons just sit there and bounce forever and I close it, or it just doesn't open at all. I even updated to java jre 7u11 (the newest release), but it is still doing it.  It is occuring with all my java apps, but my web browsers are ok. Is anyone else having problems with java lately?  Any ideas?

    If you're running any kind of "anti-virus" software, such as Sophos, back up all data, then remove it according to the developer's instructions. Reboot and test.

  • Ever since I updated to Maverick my MacBook is slow to load apps

    Since I updated to Maverick my MacBook is slow to boot up after being shut down and is slow to load apps (excessive bounce, etc.). Is there a solution?

    Your model is right at the cutoff of models that can handle Mavericks, so you need to keep that in mind: an older machine and less powerful processor. Aside from that, you should really have a minimum of 4 GB of RAM for Mavericks to run reasonably well - how much RAM do you have? The 2 GB minimum published does not work that well unless you only use one app at a time.
    So, if you've maxed out the RAM, make sure you don't run too many apps at the same time, especially if dealing with photo editing or movie apps and quit one before starting another. Also make sure you have plenty of empty hard drive space at all times.

  • Slow uploads for "My computer" app, music, moviesand podcasts.  updated apple TV, reset modem amd router, bot still slow to load and play.  What do I do next?

    Slow uploads for "My computer" app, music, moviesand podcasts. Reset router, modem, updated apple TV and still slow to load music, movies etc.  What next?

    I have the same problem since the 6.0.2 update

  • Over the years and upgrading machines, I now have over 20k of emails in the import mailboxes within several folders. How can I archive these in way so the are still available, if necessary, to search, but don't load and slow down my mail app.

    Over the years and upgrading machines, I now have over 20k of emails in the import mailboxes within several folders. How can I archive these in way so the are still available, if necessary, to search, but don't load and slow down my mail app.

    Ok Thank you.
    I wont worry now.
    Just maybe dig in deep and delete the deleted mails that are still around and that will hopefully clean it up a bit.
    Many thanks for your help and advice.
    Regards
    Chrispl0

Maybe you are looking for

  • Oracle SQL Developer 1.2 – Automatic -  is compatible with Oracle 11g?

    Oracle SQL Developer 1.2 – Automatic - is compatible with Oracle 11g? Thanks in advance! -Babu

  • VB for multiple queries

    Hello, Can we run multiple reports in SAP BW at a single request? How would data be extracted from a single cube for these multiple reports? If this is possible, the output should either go to the printer or in a .pdf file.Suggest. Regards, K&M

  • Is there a way to sort button field names?

    In the Button Options dialog box, in the Behaviors tab: Behavior is Show/Hide fields. I cannot figure out ID's method of organization of organizing the field names. Sometimes, the new fields go at the top. Sometimes they go at the bottom... It doesn'

  • How do I put and sort string data into an array?

    I have a txt file that has the following sample data: Sample.txt---- Jones Bill 12,500 Salesperson Adams Frank 34,980 Manager Adams John 23,000 Salesperson Thompson Joe 59,500 Trainee I need to incorporate each line of data into an individual array e

  • Lenovo G530 XP Pro OS

    I have been experiencing major freezing problems when trying to view streaming video with Adobe Flash Player 10.  Screen comes up but is frozen most of the time.  Is anyone else experiencing this problem and if so what can I do to rectify it.