Java and CFC instantiation, comparing ColdFusion engines

Posted by Mark Drew on code on November 30, 2006

Tagged under coldfusion

Yesterday I posted my comparative tests between creating a CFC and a Java object, Andy Jarett mentioned in a post that I should try out the different engines: Adobe ColdFusion, BlueDragon and Railo and see how they stacked up against each other. So I run the SAME code on each of the engines, of course I had to put my Generic.jar file into the classpath for each engine to have access to it.

In the test I used Bluedragon 6.2.1, Coldfusion MX 7.0.2 and Railo 1.1, and pointed them to the same webroot*.

The results are fairly erratic but that is because I didnt run them a number of times, no, I didnt put trusted cache on all the engines, as I know this should improve performance but it is comparative right?

So, the results?

They speak for themselves. At the end of the day its a lot faster to use a Java class than a CFC.

CFC based GenericBean

Java based GenericBean

*I shall provide details on how to do this later on today




comments powered by Disqus