Performance hit on ASP.NET

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Performance hit on ASP.NET

    I'm seeing a huge performance decrease in my ASP.NET
    pages when executing on a production machine verses my
    local machine. It isn't the bandwidth, and it isn't the
    code itself. For some reason the compilation, or caching
    or something is destroying the response times. While it
    executes perfectly locally (XP & IIS 5) it executes
    periodically at about 45 seconds or more per page on the
    production machine (2000 Server & IIS 5). Any ideas?
    Jeremy Guest

  2. Similar Questions and Discussions

    1. Performance log
      Hi, FMS 2 server can monitor at least "active connection", "megabites", "memory" and "cpu" usage. However I have not been able to save these values...
    2. FMS X FCS (Performance)
      Hi all. Anybody has made a performance study comparing these two technologies, FMS and FCS? I want to migrate from FCS to FMS, but I?ve to...
    3. Performance
      Oracle 8.1.7 NT2000: Running 2 databases on the same machine, 'same' init parameters. - in database 1 I imported the full user-scheme (say 30...
    4. web performance
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07222003.asp For the article above, does anyone know it's...
    5. Performance...
      Everything Lynn says. And also check through your scripts and be sure you don't see any IP addresses within the scripts. And if you do see IP...
  3. #2

    Default Re: Performance hit on ASP.NET

    I would suggest editing the web.config file <trace> tag and enable it and
    enable the pageOutput attribute. You can then create a trace context and
    output to it.

    protected System.Web.TraceContext con = null;

    protected void PageLoad()
    {
    con = this.Page.Trace;
    con.Write("PageLoad", "_Begin something");
    // doing something
    con.Write("PageLoad","_End something");
    }

    It provided me some very valuable timing information that helped me isolate
    the source of a slowness I was experiencing, namely using the
    identity.IsInRole(group) function.

    HTH,

    Todd Thompson
    Todd Thompson Guest

  4. #3

    Default Re: Performance hit on ASP.NET

    I have timers set on each section of the code, including
    the constructor, the pageLoad and the executions... they
    all execute in effectively zero time, somewhere IIS is
    simply locking up for up to a minute at a time, probably
    prior to ever executing the page.

    Jeremy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139