I created a web page that is looping through a bunch of lists and arrays. Its sort of a hack project so I didn't spend too much time in designing it well. Performance, however, is now really becoming an issue. I was wondering if any of you had any quick tips for testing how long a specific portion of the page is taking to process so that I can determine where I need to improve performance.
Thanks in advance.
<cftimer> is probably a good place to start:
There's also getTickCount() which can be handy:
Just as a pre-emptive warning before seeing what you're doing: lists are not a very good data structure for high-performance code. Avoid if poss.
If it's not a great swathe of the stuff, perhaps post the code that's not performing well.