> Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML.
CF code I used was included in my post. HTML was rendered CF -> view source -> save as HTML. I don't do PHP. On Sun, Nov 7, 2010 at 11:09 AM, Larry Lyons <[email protected]> wrote: > > Unless you're testing this under a significant load, such as using jMeter > etc., this test is essentially meaningless. Loops over thousands or simple > page loads do not mean anything. I'd look at a more real world test, make > sure the HTML is exactly the same, structure the code to be similar etc. > > Moreover what was the code you used. Until we see it for all we know its a > very biased test towards PHP, CF or HTML. > > >For giggles, I just tried this on my box and got: > > > >HTML 33 milliseconds (static DataTime stamp and no queries to DB) > >CF 2910 milliseconds (cleared template cache and newly restarted CF > >service) > >CF 707 milliseconds (after above run) > > > >And here's the code I tested. NOTE: only needed two cfdumps to get to 50K > >page size: > > > ><cfset count = 10> > > > ><cfoutput>#Now()#</cfoutput> > > > ><cfquery name="Q_GetData" datasource="thedatasource"> > >select top #count# * from table1 > ></cfquery> > > > ><cfdump var="#Q_GetData#"> > > > ><cfquery name="Q_GetData" datasource="thedatasource"> > >select top #count# * from table2 > ></cfquery> > > > ><cfdump var="#Q_GetData#"> > > > ><cfquery name="Q_GetData" datasource="thedatasource"> > >select top #count# * from table3 > ></cfquery> > > > ><cfquery name="Q_GetData" datasource="thedatasource"> > >select top #count# * from table4 > ></cfquery> > > > ><cfquery name="Q_GetData" datasource="thedatasource"> > >select top #count# * from table5 > ></cfquery> > > > > > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

