Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 14 August 2002 : 21:16:59
|
I think that would not be big on Resources. On off question, aren't all the variables in config.asp are loaded, even when all those are not used in pop_up windows or are They
About the Timer:
Dim StopWatch(19)
19 can be set to 0 or 1 unless Timer is run and stopped inmore than one context.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 17 August 2002 : 00:35:00
|
Why the timer script. Wouldn't it make more since just to record the current time at the beginning then subtracting that from the current time at the bottom? |
Nathan Bales CoreBoard | Active Users Download |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 17 August 2002 : 00:49:13
|
It can be done. I believe that the reason it used functions was to determine the process time for several operations within the page. That is why the array StopWatch was dimensioned to 19 (Dim StopWatch(19). |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 17 August 2002 : 01:12:32
|
I'm pretty sure it's just something that Gor found somewhere. It was included in v3.3 by mistake, was just supposed to be something for this site. |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 17 August 2002 : 01:19:34
|
quote: I'm pretty sure it's just something that Gor found somewhere. It was included in v3.3 by mistake, was just supposed to be something for this site.
Nice feature for us webmasters though.
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 17 August 2002 : 01:20:26
|
I use it to determine how much time is taken to build several portions of the page, especially when several queries are executing on a single page and how much time it takes to display the information retrieved for each recordset. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 17 August 2002 : 05:39:33
|
No need for the Timer to be an array anyway, just make it a single variable, that way less memory will be allocated and therefore less used on those pages such as footer_short which don't use it.
It has been a great feature though for helping people with the "My forums slow" topics. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 17 August 2002 : 10:00:34
|
Why not just include the stop timer code in inc_footer_short.asp too? It's only a small portion of code... If the start timer code gets put in config.asp and you worry about the pop-ups, then that would be a solution.
On all pop-ups I've seen, there was enough space for an extra line of text at the bottom. It doesn't even have to be shown, 'cause as you said, nobody cares about the creation time of the pop-up windows. |
|
|
Topic |
|