same setup 2089-2741 with a 53K file (an O'Reilly article html file)
On Tuesday, July 30, 2002, at 12:49 PM, Dick Applebaum wrote:
> CFMX OSX PPC G4 800 MHz 512 Meg RAM
>
> Lots of other stuff running concurrently (IE, BBEdit, Mail Client,
> Sherlock, OpenBase db server)
>
> All standard (Default) Linux install ported to Mac -- no non-default
> admin settings
>
> 291-321 ms on 25K file
>
>
> On Tuesday, July 30, 2002, at 12:43 PM, Brook Davies wrote:
>
>> On my dev server, it takes 1232 ms for a 29k file.
>> My devserver is CFMX / WinNT/ 800 Cellaron w/ 128 megs
>>
>>
>>
>>
>> At 09:16 PM 30/07/02 +0200, you wrote:
>>> Could somebody who has CF MX on the same machine as some older version
>>> of CF test the script below for me? I find the results a bit
>>> disturbing
>>> at first sight (but maybe you see something wrong with the code).
>>>
>>> CF MX CF 4.5
>>> trusted cache no trusted cache
>>> no debugging debugging
>>> Duron 800 dual Athlon 1.2 GHz
>>> 1820 ms 150 ms
>>>
>>> Jochem
>>>
>>>
>>> <cfscript>
>>> // Put in the location of some document of about 25 KB.
>>> request.File = "";
>>>
>>> CRLF = chr(10);
>>> CurrentPosition = 72;
>>> </cfscript>
>>>
>>> <cffile action="READ" file="#request.file#" variable="temp"/>
>>>
>>> <cfscript>
>>> temp = ToBase64(temp);
>>> if (Len(temp) MOD 4 IS "1")
>>> temp = RemoveChars(temp, Len(temp) - 1, 1);
>>>
>>>
>>> request.StartTime = GetTickCount();
>>> while (CurrentPosition LTE Len(temp)) {
>>> temp = Insert(CRLF,temp,CurrentPosition);
>>> CurrentPosition = CurrentPosition + 72 + Len(CRLF);
>>> }
>>> WriteOutput(GetTickCount() - request.StartTime & " ms");
>>> </cfscript>
>>>
>>>
>>>
>>
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists