On top of those, here's a list of things to look for in your code:

http://www.secretagents.com/content/index.cfm?fuseaction=testlist

Steve

Nat Papovich wrote:
> 
> Not to muddy the dark waters, but if you do some tests on cfloop vs.
> cfoutput, you might be rather surprised. I was...
> 
> Here's a few more for you:
> 1. boolean setting and checking "yes" and "no" are faster than 1 and 0
> 2. tens of thousands of lines of cfcomments really don't make a lick of
> difference
> 3. sometimes client variables are faster than session variables (shhh -
> don't tell)
> 4. application variables are slow as nuts (locked or not)
> 5. all this doesn't matter one lick if your hourly wage to implement all
> these ends up being more than the cost of another server
> 
> NAT
> 
> > -----Original Message-----
> > From: DRE [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 15, 2001 6:37 AM
> > To: Fusebox
> > Subject: Re: That performance issue again
> >
> >
> > Hi, This a subfuse to a coldfusion fuse curiosity of mine.(oh
> > stop me now).
> >
> > Now I know that cfoutput goes faster than cfloop and I've read that I
> > should use that case compare function(or whatever its called) to
> > see if two
> > strings are equal and that saying cfif len(string) is faster than saying
> > cfif string eq ''.
> >
> > Theres lots more like this. I could go on.
> >
> > So the question arises, does anyone know of any published actual speed
> > comparisons that are based on numbers instead of rules of thumb??  I'm
> > really quite curious about the ones I know about and the ones I
> > don't know
> > about.
> >
> > DRE
> >
> > At 03:04 PM 2/14/2001 -0500, you wrote:
> > >Actually cfswitch performs much faster than cfif/elseif if there is more
> > >than a one elseif/cfcase
> > >
> > >1 cfcase vs 1 cfif (no cfelseif's) will perform with the same speed, so
> > >if you only had 1 fuseaction, it wouldn't matter whether you used
> > >cfswitch or cfif.
> > >
> > >Although if you live the real world this isn't the case.
> > >
> > >cfswitch performs with the basically the same speed regardless of how
> > >many cfcase statements you have, where as cfelseif has a linear speed
> > >increase for each new cfelseif statement.
> > >
> > >I did this test comparison a long time ago when CF 4.0 was released.
> > >
> > >Steve Nelson
> > >
> > >Greg Luce wrote:
> > > >
> > > > I was under the impression that <cfswitch> performed BETTER than
> > > > <cfif><cfelse></cfif>.
> > > >
> > > > > Anyone worked up documentation on the fusebox performance
> > trade-offs? I
> > > > know
> > > > > that using custom tags and cfswitch are slower than cfinclue &
> > > > > cfif/esleif/else, but the general argument was that for the
> > most part it
> > > > > wasn't noticeable.
> > > > >
> > > > > If anyone has docs or opinions, let me know.
> > > > >
> > > > > Also, if anyone has a tip on increasing performance (in regards to
> > > > fusebox,
> > > > > general CF performance Allaire has well documented), please
> > pass that on,
> > > > > too!
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Shannon Hicks
> > > > > Senior Developer
> > > > > Allaire Certified ColdFusion Developer
> > > > > Brainbench Certified ColdFusion Developer
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > > duoDesign, The eBusiness Accelerator
> > > > > 1007 Church St. Suite 510
> > > > > Evanston, IL 60201
> > > > > 847.491.3211
> > > > > 847.491.3100 fax
> > > > >
> > > > > http://www.duodesign.com/
> > > > > http://www.chicagoangels.org/
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to