Entries Tagged as 'java'

Testing jdk 1.6.0_11

Posted By Andrea Campolonghi | Posted in java , railo , coldfusion | Posted on Feb

I have made a fast speed test to see how much the new jdk has increased my cf8 speed.

The test was very easy and consisting on the looping 1000 times around a createObject statement and run a simple init method on each like following:

<code class="coldfusion">
<cfloop from="1" to="1000" index="i">
<cfset createObject('component','testobject').init() />
</cfloop>
</code>

Here the results

JDK 1.6.0_7 ( as my previous built on cf8 )

ColdFusion : 2.4 secs average

Railo : 1.1 secs average

JDK 1.6.0_11

ColdFusion : 1.2 secs average

Railo : 0.7 secs average

I was really surprised to discover that my cf8 increased the craeteObject speed of 50% and I have honestly to say that also the railo speed really impressed me

jdk1.6.0_11 speed up coldfusion createObject

Posted By Andrea Campolonghi | Posted in java , coldspring , transfer , coldfusion | Posted on Jan

During 2008 many posts in the cf community proved how a bug in the java 1.6 jdks was slowing down the creation of coldfusion objects.