<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>wolfeman77 - Advanced Techniques</title>
			<link>http://www.wolfeman77.com/wm/blog/index.cfm</link>
			<description>where the code meets the real world...&lt;br /&gt;by aaron wolfe</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 09:18:20 -0400</pubDate>
			<lastBuildDate>Wed, 15 Oct 2008 19:21:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>aaron-w@woh.rr.com</managingEditor>
			<webMaster>aaron-w@woh.rr.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>aaron-w@woh.rr.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>wolfeman77</title>
				<link>http://www.wolfeman77.com/wm/blog/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>Execution Times</title>
				<link>http://www.wolfeman77.com/wm/blog/index.cfm/2008/10/15/Execution-Times</link>
				<description>
				
				In reference to the &lt;a href=&quot;http://www.wolfeman77.com/wm/blog/index.cfm/2008/10/15/Date-Loop&quot;&gt;Date Loop&lt;/a&gt;, this is a perfect example of when using multiple &amp;lt;cfoutput&amp;gt; on a page can actually slow down the processing of page. (Every so slightly.)

Test Case 1:  Loop over date for 1200 months or 100 years with one &amp;lt;cfoutput&amp;gt;. 
The execution time averages ~360ms.
&lt;code&gt;
&lt;cfoutput&gt;
            &lt;cfset previousMonth=&quot;&quot;&gt;
            &lt;cfloop index=&quot;currentDate&quot; from=&quot;#dateAdd(&apos;m&apos;,-1200,now())#&quot; to=&quot;#now()#&quot; step=&quot;1&quot;&gt;
                        &lt;cfif month(currentDate) neq previousMonth&gt;
                                    &lt;cfset previousMonth=month(currentDate)&gt;
                                    &lt;br /&gt;
                                    #dateformat(currentDate,&apos;mmmm yyyy&apos;)#&lt;br /&gt;
                        &lt;/cfif&gt;
                        #day(currentDate)#
                        &lt;cfif dayofweek(currentDate) is 7&gt;
                                    &lt;br /&gt;
                        &lt;/cfif&gt;
            &lt;/cfloop&gt;
&lt;/cfoutput&gt;
&lt;/code&gt;

Test Case 2:  Loop over date for 1200 months or 100 years with a &amp;gt;cfoutput&amp;lt; for each variable that needs outputed.  
The execution time averages ~375ms.

&lt;code&gt;
&lt;cfset previousMonth=&quot;&quot;&gt;
&lt;cfloop index=&quot;currentDate&quot; from=&quot;#dateAdd(&apos;m&apos;,-1200,now())#&quot; to=&quot;#now()#&quot; step=&quot;1&quot;&gt;
            &lt;cfif month(currentDate) neq previousMonth&gt;
                        &lt;cfset previousMonth=month(currentDate)&gt;
                        &lt;br /&gt;&lt;cfoutput&gt;#dateformat(currentDate,&apos;mmmm yyyy&apos;)&lt;/cfoutput&gt;&lt;br /&gt;
            &lt;/cfif&gt;
            &lt;cfoutput&gt;#day(currentDate)#&lt;/cfoutput&gt;
            &lt;cfif dayofweek(currentDate) is 7&gt;
                        &lt;br /&gt;
            &lt;/cfif&gt;
&lt;/cfloop&gt;
&lt;/code&gt; 
				</description>
				
				<category>Advanced Techniques</category>				
				
				<pubDate>Wed, 15 Oct 2008 19:21:00 -0400</pubDate>
				<guid>http://www.wolfeman77.com/wm/blog/index.cfm/2008/10/15/Execution-Times</guid>
				
			</item>
			
			<item>
				<title>Date Loop</title>
				<link>http://www.wolfeman77.com/wm/blog/index.cfm/2008/10/15/Date-Loop</link>
				<description>
				
				Just a reminder, you can loop over a date with &amp;lt;cfloop&amp;gt; as long as you step by the day.&lt;br /&gt;&lt;br /&gt;
Example:
&lt;code&gt;
&lt;cfoutput&gt;
            &lt;cfset previousMonth=&quot;&quot;&gt;
            &lt;cfloop index=&quot;currentDate&quot; from=&quot;#dateAdd(&apos;m&apos;,-3,now())#&quot; to=&quot;#now()#&quot; step=&quot;1&quot;&gt;
                        &lt;cfif month(currentDate) neq previousMonth&gt;
                                    &lt;cfset previousMonth=month(currentDate)&gt;
                                    &lt;br /&gt;
                                    #dateformat(currentDate,&apos;mmmm yyyy&apos;)&lt;br /&gt;
                        &lt;/cfif&gt;
                        #day(currentDate)#
                        &lt;cfif dayofweek(currentDate) is 7&gt;
                                    &lt;br /&gt;
                        &lt;/cfif&gt;
            &lt;/cfloop&gt;
&lt;/cfoutput&gt;
&lt;/code&gt;
Output:&lt;br /&gt;
June 2008&lt;br /&gt;
16 17 18 19 20 21 &lt;br /&gt;
22 23 24 25 26 27 28 &lt;br /&gt;
29 30 &lt;br /&gt;
July 2008&lt;br /&gt;
1 2 3 4 5 &lt;br /&gt;
6 7 8 9 10 11 12 &lt;br /&gt;
13 14 15 16 17 18 19 &lt;br /&gt;
20 21 22 23 24 25 26 &lt;br /&gt;
27 28 29 30 31 &lt;br /&gt;
August 2008&lt;br /&gt;
1 2 &lt;br /&gt;
3 4 5 6 7 8 9 &lt;br /&gt;
10 11 12 13 14 15 16 &lt;br /&gt;
17 18 19 20 21 22 23 &lt;br /&gt;
24 25 26 27 28 29 30 &lt;br /&gt;
31 &lt;br /&gt;
September 2008&lt;br /&gt;
1 2 3 4 5 6 &lt;br /&gt;
7 8 9 10 11 12 13 &lt;br /&gt;
14 15 16&lt;br /&gt; 
				</description>
				
				<category>Advanced Techniques</category>				
				
				<pubDate>Wed, 15 Oct 2008 19:18:00 -0400</pubDate>
				<guid>http://www.wolfeman77.com/wm/blog/index.cfm/2008/10/15/Date-Loop</guid>
				
			</item>
			</channel></rss>