Entries Tagged as "java"
Testing jdk 1.6.0_11
Posted by Andrea Campolonghi in coldfusion , java , railo on February 3, 2009
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
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 in coldfusion , coldspring , java , transfer on January 28, 2009
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.