Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Performance issue ....Pls help me ...

Performance issue ....Pls help me ...

Scheduled Pinned Locked Moved Web Development
helpsharepointsysadminperformancequestion
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ankur Bakliwal
    wrote on last edited by
    #1

    Hello all, I m using 12 SP, 7 include files in a ASP file. Now problem is that, that page is not opening or its takeing 2much time to open & some times my server shows 100% CPU usage. What should i do to make it fast?????? ;)

    Thanks, Ankur Bakliwal

    A G 2 Replies Last reply
    0
    • A Ankur Bakliwal

      Hello all, I m using 12 SP, 7 include files in a ASP file. Now problem is that, that page is not opening or its takeing 2much time to open & some times my server shows 100% CPU usage. What should i do to make it fast?????? ;)

      Thanks, Ankur Bakliwal

      A Offline
      A Offline
      andyharman
      wrote on last edited by
      #2

      It is unlikely to be the includes - I often have ten or more. Can you add timing code around the stored procedure calls to confirm how long each one takes?

      G 1 Reply Last reply
      0
      • A Ankur Bakliwal

        Hello all, I m using 12 SP, 7 include files in a ASP file. Now problem is that, that page is not opening or its takeing 2much time to open & some times my server shows 100% CPU usage. What should i do to make it fast?????? ;)

        Thanks, Ankur Bakliwal

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        You should start by identifying what part of your code it is that is taking time. Nothing of what you mentioned gives any clue to any performance problems.

        --- single minded; short sighted; long gone;

        A 1 Reply Last reply
        0
        • A andyharman

          It is unlikely to be the includes - I often have ten or more. Can you add timing code around the stored procedure calls to confirm how long each one takes?

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          andyharman wrote:

          It is unlikely to be the includes - I often have ten or more.

          I actually tested the performance of include files a few years ago. It showed that you can have a hundred include files without any noticable performance hit.

          --- single minded; short sighted; long gone;

          A 1 Reply Last reply
          0
          • G Guffa

            You should start by identifying what part of your code it is that is taking time. Nothing of what you mentioned gives any clue to any performance problems.

            --- single minded; short sighted; long gone;

            A Offline
            A Offline
            Ankur Bakliwal
            wrote on last edited by
            #5

            Yes, I have added 4 iFrames also in that page & that pages also have some SPs I m not able to find out that part which is takin time..

            Thanks, Ankur Bakliwal

            B 1 Reply Last reply
            0
            • G Guffa

              andyharman wrote:

              It is unlikely to be the includes - I often have ten or more.

              I actually tested the performance of include files a few years ago. It showed that you can have a hundred include files without any noticable performance hit.

              --- single minded; short sighted; long gone;

              A Offline
              A Offline
              Ankur Bakliwal
              wrote on last edited by
              #6

              Thanks for the response. Please confirm the include and iframe sequence which are being used in the main page. The page has 4 tabs, which are used to call 4 different pages. Response.buffer=false For case 1 to 5 Case 1 then include page 1 and activate the tab (by display: none) Case 2 then include page 2 and activate the tab (by display: none) etc Page 1 has 3 include pages 4 iframes and each iframe has one page for ex. loadme frames src is a dds.asp?id=10 the dds.asp has response.buffer= true and response.flush() Yes, the sp are not taking too much time. it will take from 40 sec to 70 sec. Please look into the above sequence and correct me if i am wrong.

              Thanks, Ankur Bakliwal

              G 1 Reply Last reply
              0
              • A Ankur Bakliwal

                Yes, I have added 4 iFrames also in that page & that pages also have some SPs I m not able to find out that part which is takin time..

                Thanks, Ankur Bakliwal

                B Offline
                B Offline
                badgrs
                wrote on last edited by
                #7

                Add some timing code round all the SPs and any other logic thats pretty intensive. Try loading the iframes seperately and see how they cope, although the page should load before the iframes so I imagine they won't make a difference. Failing all that, ditch ASP, it sucks plain and simple.

                1 Reply Last reply
                0
                • A Ankur Bakliwal

                  Thanks for the response. Please confirm the include and iframe sequence which are being used in the main page. The page has 4 tabs, which are used to call 4 different pages. Response.buffer=false For case 1 to 5 Case 1 then include page 1 and activate the tab (by display: none) Case 2 then include page 2 and activate the tab (by display: none) etc Page 1 has 3 include pages 4 iframes and each iframe has one page for ex. loadme frames src is a dds.asp?id=10 the dds.asp has response.buffer= true and response.flush() Yes, the sp are not taking too much time. it will take from 40 sec to 70 sec. Please look into the above sequence and correct me if i am wrong.

                  Thanks, Ankur Bakliwal

                  G Offline
                  G Offline
                  Guffa
                  wrote on last edited by
                  #8

                  Why are you turning off buffering? Normally there is no reason to do that. Still, there is nothing in what you describe that should take 40 seconds to execute. Is it the page containing the iframes that takes time to load, or the contents of the iframes?

                  --- single minded; short sighted; long gone;

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups