/t5/coldfusion-discussions/looping-over-a-query/m-p/342500#M30828Jun 02, 2008
Jun 02, 2008
Copy link to clipboard
Copied
To find out for yourself do something like this:
1. run your query.
2. set a start time variable using gettickcount().
3. set up a loop from 1 to a million.
4. run through the query using cfoutput.
5. after the closing cfloop tag, set a stop time variable
using gettickcount.
/t5/coldfusion-discussions/looping-over-a-query/m-p/342501#M30829Jun 02, 2008
Jun 02, 2008
Copy link to clipboard
Copied
LATEST
i tried this exapmple
but my query has only 100 records. and the execution time is
shown as 16 using the get tickcount.
It shows no difference at present. But when the records
increases what will be the case ?