Script Execution Time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    Script Execution Time

    Is there an easy way to determine how long it took a particular page to
    execute?
  • Manohar Kamath [MVP]

    #2
    Re: Script Execution Time

    You could set a time variable at the top of the page, and compare with the
    time at the end of the page. The difference is the time you want.

    --
    Manohar Kamath
    Editor, .netWire



    "Dave" <just1coder@yah oo.ca> wrote in message
    news:ebAie3obEH A.3988@tk2msftn gp13.phx.gbl...[color=blue]
    > Is there an easy way to determine how long it took a particular page to
    > execute?[/color]


    Comment

    • Dave

      #3
      Re: Script Execution Time

      Manohar Kamath [MVP] wrote:
      [color=blue]
      > You could set a time variable at the top of the page, and compare with the
      > time at the end of the page. The difference is the time you want.
      >[/color]
      Would you be able to give me an example? :)

      Comment

      • Auric__

        #4
        Re: Script Execution Time

        On Tue, 20 Jul 2004 15:25:53 -0400, Dave wrote:
        [color=blue]
        >Manohar Kamath [MVP] wrote:
        >[color=green]
        >> You could set a time variable at the top of the page, and compare with the
        >> time at the end of the page. The difference is the time you want.
        >>[/color]
        >Would you be able to give me an example? :)[/color]

        At the very top:
        <% x = Timer %>

        At the very bottom:
        <%
        y = Timer
        z = x - y
        Response.Write "z = " & z
        %>
        --
        auric underscore underscore at hotmail dot com
        *****
        What part of "not for kids" don't you fuckers understand?

        Comment

        • Chris Hohmann

          #5
          Re: Script Execution Time

          "Dave" <just1coder@yah oo.ca> wrote in message
          news:u91eb9obEH A.1644@tk2msftn gp13.phx.gbl...[color=blue]
          > Manohar Kamath [MVP] wrote:
          >[color=green]
          > > You could set a time variable at the top of the page, and compare with[/color][/color]
          the[color=blue][color=green]
          > > time at the end of the page. The difference is the time you want.
          > >[/color]
          > Would you be able to give me an example? :)[/color]

          Dim start
          start = Timer
          ' Do some stuff
          Response.Write Timer - start


          Comment

          • Dave

            #6
            Re: Script Execution Time

            Chris Hohmann wrote:[color=blue]
            > "Dave" <just1coder@yah oo.ca> wrote in message
            > news:u91eb9obEH A.1644@tk2msftn gp13.phx.gbl...
            >[color=green]
            >>Manohar Kamath [MVP] wrote:
            >>
            >>[color=darkred]
            >>>You could set a time variable at the top of the page, and compare with[/color][/color]
            >
            > the
            >[color=green][color=darkred]
            >>>time at the end of the page. The difference is the time you want.
            >>>[/color]
            >>
            >>Would you be able to give me an example? :)[/color]
            >
            >
            > Dim start
            > start = Timer
            > ' Do some stuff
            > Response.Write Timer - start
            >
            >[/color]
            wow. didn't think it was T H A T easy! ;)

            Comment

            • Aaron [SQL Server MVP]

              #7
              Re: Script Execution Time



              --

              (Reverse address to reply.)




              "Dave" <just1coder@yah oo.ca> wrote in message
              news:ebAie3obEH A.3988@tk2msftn gp13.phx.gbl...[color=blue]
              > Is there an easy way to determine how long it took a particular page to
              > execute?[/color]


              Comment

              Working...