> You still didn't answer the question. What is the version number of 
> the JVM being used? This is very important.  Anything less than 1.6.
> 0_10 is going to have performance issues.
> 

Hi Wil,

In regards the JVM version, the original version I saw was 1.6.0_17.
I changed it to use the Adobe distribution version for CF 8.0.0, which got me 
1.6.0_01
and that had a 3 second better performance than the original, on the original 
code that utilised <cffile>.

Now on that same 1.6.0_01 JVM version, with calls to java.io.filewriter 
replacing those to cffile, I get run times of 8 seconds (10x faster).

Finally, I change the JVM version back to 1.6.0_17 and I get a run time of 12 
seconds.

So I conclude that unexpectedly, the older version of JVM is faster doing file 
io than the newer version, and of course java.io.Filewriter is faster than 
<cffile>

<go figure...!>
Unfortunately I am unable to spend further time on this, but again, thanks for 
your involvement and contribution.  I will post the cfc encapsulating the calls 
to java.io.filewriter under separate cover for those that want it.  Nothing 
special but might save someone some time.

Cheers,
Bryn 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:338313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to