Internetexplorer.application performance

Hi
I made a small script that displays some information via HTML and Internet Explorer:
$ie = New-Object -com internetexplorer.application;
$ie.navigate2("about:blank")
$ie.document.body.innerHTML = $html
$ie.visible = $true
$ie.MenuBar = $false
$ie.AddressBar = $false
$ie.StatusBar = $false
$ie.ToolBar = $false
This works well. The problem is that i made some buttons on the page that should refresh the content. But when powershell needs to pull that information:
do {
if ($ie.Document.getElementByID("finished").value -eq 1) {
$skip = $true
if ($ie.Document.getElementByID("autorefresh").value -eq 1) {
$autorefresh = $true
Start-Sleep -Milliseconds 500
} until (($autorefresh -eq $true) -or ($skip -eq $true))
I get a high CPU load (40-45%).
Is this normal, or should it be done another way?

Hi ThomasICG,
I am trying to involve someone familiar with this topic to further look at this issue.
There might be some time delay. Appreciate your patience.
If you have any feedback on our support, please click here.
Best Regards
Anna
TechNet Community Support

Similar Messages

  • NAM Report Analyze -- Wan Optimization -- Application Performance Analysis Report

    Hello,
    Transaction Time (Client Exprerience) report does not show optimized traffic. For this graph what we expect is to show side by side the transaction time of optimized and non optimized traffic side by side to give information about the baseline and optimized application performance.
    May it be that the optimization should be disabled for some time for the Wan Sites, and after some time manually reenabled in order to compare these values?  This should be difficult for large deployments since manually disabling and reenabling for performance analysis time taking task.
    Best Regards,

    Mohammed,
    It is common, in many of the Cisco Express 8.5 environments we have looked at, for the Total Incoming Calls given on a Traffic Analysis report to be a higher number than an Application Report.
    The Traffic Analysis Report counts every unique sessionID (unique call) that is inbound (contact type of 1).  The Application Reports do a similar thing but qualify (filter) only the records that have an application assigned.
    There are simply times where inbound calls have been directed to an "agent" without having an applicaiton assigned.
    The best thing the reporting user can do is to run a query on his or her database such as: 
         select * from ContactCallDetail where contactType=1and startDateTime > '2012-11-16 10:00:00' and startDateTime < '2012-11-16 11:00:00';
    Usually when an application is not assigned to the record in the ContactCallDetail table it is because the destination type is equal to 1, which is an 'Agent' instead of a 'route point'.
    So if you modify your select statement to filter by destinationType, you can quickly find the records that don't have the application assigned. 
    Example:  select * from ContactCallDetail where contactType = 1 and destinationType = 1 and startDateTime > '2012-11-16 10:00:00 and startDateTime < 2012-11-16 11:00:00';
    When you look at these records, you will see the agent that took the call from the destinationID field.  The number in that field should match up with the field called 'resourceID' in a table called 'resouce';
         Example:  select * from resource where resouce=6011; where 6011 was the number you found in the destinationID field.
    If there is still confusion about the source of the call - then talk to that agent and find out what is was.
    Good Luck and let me know if you need further help.
    Ron Reif
    [email protected]

  • OBIEE 11g Application Performance Monitoring

    Are there any best practices or recommendations for Application Performance Monitoring for OBIEE 11g?
    I see that from Fusion MiddleWare Control, we can navigate to Business Intelligence -> CoreApplication (right click) -> Monitoring -> Performance
    And from here we have a huge amount of performance metrics to choose from.
    What I'm interested in finding out is:
    1). Out of these hundreds of metrics, are there a subset of "core" performance metrics that Oracle recommends monitoring that gives a good baseline for performance of the application?
    2) What are the options for capturing/gathering/saving these metrics for historical and trend analysis?

    Excellent post. Thanks. Is there some sort of trial of the tool you guys built that's described in the post you linked?
    "In addition to the out-of-the-box options above, here at RittmanMead we have developed our own OBIEE monitoring tool.
    DMS metrics are stored directly on disk or through a database, enabling both immediate and retrospective analysis. Custom dashboards enable the display of both OBIEE and OS data side-by-side for ease of analysis. Integration with third-party tools is also an option."

  • DO's & DONT's for a better application performance

    I am very new to tuning. What are the sql & pl/sql do's and dont's and best sql & pl/sql practices for a better application performance?
    I was told by somebody to check explain plan for tuning db & sql statements. But i am bit confused by seeing the explain and don't know from where i have start and what i have take into consideration from explain plan to improve application preformance?
    Can somebody help me in this regard?

    > I am very new to tuning.
    Good. Not having to tune means that the code is performing as it should.
    And this is THE MOST IMPORTANT CONSIDERATION.
    Do not write and design code that needs to be tuned and twisted and modded in order to perform. Write and design code with the core requirements of that code being:
    - performance
    - scalability
    - flexibility
    - maintainability
    Good design = good code = good performance
    No amount of tuning can turn bad code and a bad design into a well performing and scalable system. Which is why I dislike the concept of "tuning code". Start with a good and solid design. In other words, tune that before the code.
    > What are the sql & pl/sql do's and dont's and best sql & pl/sql practices
    for a better application performance?
    The 1st basic rule is actually quite simple.
    The "data layer" rule: Maximize SQL. Minimize PL/SQL.
    Do not do in PL/SQL what SQL is very capable of doing. Fact. No other language is faster and better than SQL at crunching data in the Oracle RDBMS.
    The 2nd basic rule is a logical extension of the 1st.
    The "application layer" rule. Maximize PL/SQL. Minimize Java/C++/C#/Delphi/VB/etc.
    Do not do in a 3rd party language what PL/SQL is extremely capable of doing. Fact. No 3rd party language is as capable as crunching data in the Oracle RDBMS as PL/SQL.
    Stick to these two fundamental rules and your Oracle application will have a solid foundation for being a well performing and very scalable solution.

  • Urgent - Oracle Applications Performance - Please Help me!

    Hi folks!
    I´m having a lot of performance troubles in Oracle applications, and the dba and the network analyst can´t help me. I´m having this trouble since 2 weeks, and nobody can explain why. The system is too slow and if i try a simple select in database it takes a lot of time, i think (i think ok?) there are som database troubles...
    I saw some docs
    1. System Mgmt White Paper http://www.oracle.com/appsnet/technology/managing/collateral/wp_managing11i.pdf
    2. System Mgmt PPT http://www.oracle.com/pls/oow/oow_user.download?p_event_id=15&p_file=P39948.zip
    3. Reducing 11i Downtime PPT http://www.oracle.com/pls/oow/oow_user.download?p_event_id=15&p_file=P39947.zip
    4. Performance and Scalability site : There are a couple of excellent presentations and white papers which will give you the right way to do performance tuning. http://www.oracle.com/appsnet/technology/performance/content.html
    but i need something more specifical like
    simple performance tests.
    Best Regards!
    Filipe
    [email protected]

    Hi
    Check this one.
    http://www.appsworld2004.com/scps/controller/catalog
    Search for item 1066. This is a presentation on "Performance Tuning Users Tips and Techniques" by Ahmed Alomari, Applications Performance Group, Oracle Corporation. You may need to register and then login.
    If you cant access this presentation, let me know, I can mail it to you as well.
    There was a similar presentation of 2002 Appsworld as well. Am not able to locate the link yet.
    Best Wishes
    Vinod Subramanian

  • How to improve database and application performance

    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatia

    bhatia wrote:
    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatiathere is no simple answer. There is no DATABASE_FAST=TRUE initialization parameter. There are a myriad of reasons why an application is performing poorly. It could be that the application (code and data relationships) is poorly designed. It could be that individual SQL statements are poorly written. It could be that you don't have enough cpu/memory/disk bandwidth/network bandwidth.
    You need to determine the root cause of poor performance and address it. If you application is poorly designed, you can tune the database until the cows come home and it won't make any difference. If you are trying to run 100k updates per second against a database hosted on hardware that only meets minimal requirements to install Oracle ... well, hopefully you get the picture.
    First, go to tahiti.oracle.com. Drill down to your selected Oracle product and version. There you will find the complete doc library. Find the Performance Tuning Guide
    Second, go to amazon.com and browse titles by Tom Kyte and Cary Milsap. I particularly recommend "Effective Oracle by Design" and "Optimizing Oracle Performance", though I see a lot of new titles that look promising (I think I'll be doing some buying!)

  • How to open IE browser in private mode with powershell script? $ie = New-Object -com internetexplorer.application

    How can I open IE, in inPrivate Browsing mode using PowerShell script?
    $ie = New-Object -com internetexplorer.application;
    $ie.visible = $true;
    $ie.navigate2("http://bing.com");
    while ($ie.Busy -eq $true) { Start-Sleep -Milliseconds 1000; }
    Ramana

    Hi
    Venkata,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • How to get the Application perform actions when exits?

    How to get the Application perform actions when user clicks on the "X" icon in the top right hand corner?
    OR
    If i placed an Exit Button.... when actions that i need to use to allow my application to perform a certain action when it exits?
    Thanks

    frame.addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        // do your stuff here
    });The WindowListener and WindowEvent can be found in java.awt.event package
    //David

  • Oracle applications performance

    Does anyone have any good best practices regarding how to increase
    the performance of oracle applications ?
    Found this resource
    http://www.princetonsoftech.com/html_email/garfield/registerwebinar.asp?id=ggoracleapps
    but other than this doesn anyone have other info/links?
    Thanks,
    Joe

    Hi, buddy:
    you have to be aware that oracle application performance depends on many points, including: oracle database(of course), network, OS(I/O,memory), and last but not least client SQL. while SQL problem may stand up to 50-70% of all.
    performance tunning is a open-ended process, it won't turn out to be satisfactory overnight.
    good luck!
    eilison

  • Can I know the automation object for firefox like "InternetExplorer.Application" for IE?

    Can I know the automation object for firefox like "InternetExplorer.Application" for IE?

    Firefox is not a COM-based application, so there is no equivalent. Over the years, different approaches have been offered for automating or embedding Firefox. The current one is [https://developer.mozilla.org/en/XULRunner XULRunner].

  • Does native compiling improve application performance ?

    Hi,
    I've got familiar with Excelsior Native Compiler since a week ago. They claim on their website that compiling Java classes directly to native code (machine code) will improve the performance of the application. However, JAlbum (http://jalbum.net) says that its JAR files of the application run "basically at the same speed" compared to the native compiled one for windows.
    Does really compiling Java classes to native code improve performance? I'm not talking about the startup speed, but the whole application performance.
    Thanks...

    Youve really been spreading that article aroundthis
    morning, George, lol.
    It was actually a really good read this morning.
    Thanks for posting it.I know! just realized that's about the 3rd or 4th
    time I've posted it today. just a coincidence, thoughcan't promote that book enough though. Should be required reading (just like Effective Java).

  • J2EE application performance bottlenecks

    For anyone interested in learning how to get resolve J2EE application performance bottlenecks, found a great resource:
    http://www.cyanea.com/email/throttle_form2.html
    registering with them can have you win 1 of 3 iPod mini's

    I agree with yawmark's response #1 in one of your evil spams http://forum.java.sun.com/thread.jsp?thread=514026&forum=54&message=2446641

  • Hep with New-Object -ComObject InternetExplorer.Application on Powershell ISE

    Hi All,
    I'm trying to  work on powershell ISE (windows 7) with New-Object -ComObject InternetExplorer.Application. My issue is that I can set a variable like this:
    $iemessage = $ie.Document.Body.InnerText
    Beacuse for some reason will be a null variable, this is the code that I'm using which do not work on ISE, but it works on the normal porwershell console
    $ie = New-Object -ComObject InternetExplorer.Application
    $ie.Navigate("http://www.microsoft.com/technet/scriptcenter/default.mspx")
    $iemessage = $ie.Document.Body.InnerText
    this is the error I get when I use $iemessage | get-member
    Get-Member : No object has been specified to the get-member cmdlet.
    Thanks in advance for any suggestion.

    Hi,
    I have no explanation for why this adjustment works (I don't do much IE automation):
    $ie = New-Object -ComObject InternetExplorer.Application
    $ie.Navigate("http://www.microsoft.com/technet/scriptcenter/default.mspx")
    Start-Sleep -Seconds 1
    $iemessage = $ie.Document.Body.InnerText
    The old adage of 'if you run out of options, just take a nap and see if the problem fixes itself' seems to have worked yet again.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • ANN: Learn How to Enhance J2EE Application Performance with ESI

    OTN's newly enhanced Virtual Shopping Mall application illustrates how ESI technology can improve J2EE 1.3 application performance and availability.
    http://otn.oracle.com/sample_code/products/ias/web_cache/index.html
    Cheers,
    -Srikanth

    This solution does not seem to work if it is CDSSO.

  • Internetexplorer.application activex component can't create object

    I am getting the infamous 429 error with a new image of Windows 2003 Server.
    I am sure this is an issue with the Windows 2003 Server image, so I have to figure out a work around to get this  to work.  No updates to the image are possible.  I have been searching for a solution for a couple of days and nothing I have
    tried has worked so any assistance you can provide is most welcome.
    This script works just fine on my Windows 7 machine and used to work just fine on the previous image of Windows 2003 Server I had which is no longer available:
    Err.Number: 429
    Err.Description: "ActiveX component can't create object"
    Here is the code:
    On Error Resume Next
    Set fsoObj = CreateObject("Scripting.FileSystemObject")
    Dim objIE
    Err.Clear
    Set objIE = CreateObject( "InternetExplorer.Application" )
    If ( Err.Number <> 0 ) Then
       WScript.Echo "Number (" & Err.Number & ")" & vbCrLf _
                  & "Description [" & Err.Description & "]"
       WScript.Quit
    End If
    objIE.Navigate "about:blank"
    objIE.Width          = 200
    objIE.Height         = 300
    Do Until objIE.ReadyState = 4
       WScript.Sleep 200
    Loop
    Do While objIE.Busy
       WScript.Sleep 200
    Loop
    bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
            & "<tr align='center'>" & vbCrLf _
            & "<td colspan='2'>" & vbCrLf _
            & "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
            & " &nbsp; &nbsp; " & vbCrLf _
            & "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
            & "</td></tr>" & vbCrLf _
            & "</table>" & vbCrLf _
            & "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
            & "<input type='hidden' id='OK' name='OK' value='0'>"
    objIE.Document.Body.InnerHTML = bodyStr
    objIE.Visible = True
    Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
       WScript.Sleep 200
       If Err Then ' user clicked red X (or alt-F4) to close IE window
          objIE.Quit
          Set objIE = Nothing
          logFile.WriteLine Now & " - aborting input!"
       End if
    Loop
    objIE.Quit

    I tested this cleaned up version on WS2003.  It works exactly the same way as it does on Windows 8 and Windows 7.
    Set objIE = CreateObject( "InternetExplorer.Application" )
    objIE.Navigate "about:blank"
    objIE.Width = 200
    objIE.Height = 300
    Do While objIE.Busy
    WScript.Sleep 200
    Loop
    bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
    & "<tr align='center'>" & vbCrLf _
    & "<td colspan='2'>" & vbCrLf _
    & "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
    & " &nbsp; &nbsp; " & vbCrLf _
    & "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
    & "</td></tr>" & vbCrLf _
    & "</table>" & vbCrLf _
    & "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
    & "<input type='hidden' id='OK' name='OK' value='0'>"
    objIE.Document.Body.InnerHTML = bodyStr
    objIE.Visible = True
    On Error Resume Next
    Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
    If Err Then ' user clicked red X (or alt-F4) to close IE window
    WScript.Echo Now & " - aborting input!"
    WScript.Quit
    End if
    WScript.Sleep 200
    Loop
    WScript.Echo Now & " - EXITING!"
    objIE.Quit
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Home sharing does not work with apple tv

    Can anyone help me.  I used to be able to stream all content from my home master computer to my Apply TV.  Now it suddenly does not work. Apple TV itself works just fine.  I can also airplay using it with out IPADs. I have uninstalled and reinstalled

  • Powermac G5 dual 2.5 issues!

    I purchased a pre-owned Powermac G5 Dual 2.5 ghz. It has 4gb ram and is running Mac OSX 10.5.8. Very shortly after I purchased the computer I had a crash and couldn't get it to start back up. I tried to re-install software and it would go part of the

  • Soft, weak & phantom reference

    Hi all :) A short while ago, I began to study "java.lang.ref" package. It's not so easy to me. Also I've gotten many relative questions & answers from this forum, here is a problem confused me for so long time :( Please help me out, thanks! import ja

  • ACR 7.4 update for CS6

    Updater mechanism (CS6) is not seeing the available ACR 7.4 update.  Any recommendations for access to the update?  Running Mac OS X 10.8.3.  Upon upgragding to CS6, Adobe Application Manager stopped finding available updates.  I have had to manually

  • How do I get my new presario lap top to scan a word document in my printer scanner

    how do I get my new presario lap top to scan a word document in my printer scanner