Saturday, October 11, 2008    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Jul 2007 >>
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Search

Categories
 • Acrobat (2) [RSS]
 • Adobe (68) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (25) [RSS]
 • AIR (134) [RSS]
 • Appearances (122) [RSS]
 • Books (69) [RSS]
 • CFEclipse (14) [RSS]
 • ColdFusion (1154) [RSS]
 • Data Services (13) [RSS]
 • Fish Tank (2) [RSS]
 • Flash (106) [RSS]
 • Flex (372) [RSS]
 • Home Automation (3) [RSS]
 • Jobs (96) [RSS]
 • JRun (13) [RSS]
 • Labs (27) [RSS]
 • LiveCycle (22) [RSS]
 • MAX (160) [RSS]
 • Regular Expressions (13) [RSS]
 • RIA (11) [RSS]
 • SQL (38) [RSS]
 • Stuff (505) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (137) [RSS]
 • Wireless (99) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
July 4, 2007

More ColdFusion 8 Performance Data

Last week at CFUnited we publicly discussed the performance enhancements in ColdFusion 8, and I also posted some specifics.

I also said that we had seen some apps where the gain is double and even triple performance. Well, sorry, I lied. I just got stats comparing Ray Camden's Canvas Wiki running on ColdFusion MX 7.0.2 and ColdFusion 8. Same code, same hardware, some CF settings, same everything ... CFMX7.0.2 processed 42.7 requests per second, and CF8 processed 181.57 requests per second. That's more than 4 times faster!

Also, several of you have asked if the performance gains are merely the result of ColdFusion 8 running on JDK1.6. Good question. Take a look at the following numbers:

  • CreatObject in CFLOOP (10,000 iterations): CFMX7.0.2(JDK1.4.2_09)=5344ms, CF8(JDK1.4.2_09)=172ms, CF8(JDK1.6)=110ms.
  • CFPARAM in CFLOOP (10,000 iterations): CFMX7.0.2(JDK1.4.2_09)=828ms, CF8(JDK1.4.2_09)=250ms, CF8(JDK1.6)=171ms.
  • CFSET in CFLOOP (10,000 iterations): CFMX7.0.2(JDK1.4.2_09)=843ms, CF8(JDK1.4.2_09)=260ms, CF8(JDK1.6)=180ms.
  • Array creation in CFLOOP (10,000 iterations): CFMX7.0.2(JDK1.4.2_09)=130ms, CF8(JDK1.4.2_09)=60ms, CF8(JDK1.6)=33ms.
  • Struct creation in CFLOOP (10,000 iterations): CFMX7.0.2(JDK1.4.2_09)=156ms, CF8(JDK1.4.2_09)=94ms, CF8(JDK1.6)=51ms.

As you can see, JDK1.6 does indeed improve performance (comparing CF8 and CF7.0.2 both running on the same JDK 1.4.2_09), but that improvement is far less significant that the core CF processing improvements.

We plan to publish all of these numbers, and much more, complete with details on how to recreate these tests. More details to follow.

Related Blog Entries

TrackBacks
There are no trackbacks for this entry.

No trackback URL. Trackbacks are only allowed via interactive form.

Comments
Awesome. Great work by the CF engineering team.

(And, Ben, have you ever heard of the cfchart tag? It can take boring numbers and make them look good! ;) )
# Posted By Sam Farmer | 7/4/07 2:33 PM
Thanks for the numbers! I'm very excited to see CF8 released so I can use this performance in my production applications.

Nobody has said much about any speed improvements of cfdocument. I have a few scripts that run painfully slow, and I'd love to see an increase there. Any hints?
# Posted By Sam Curren | 7/4/07 2:39 PM
Sam F, true, but these numbers are anything but boring. ;-)

Sam C, not yet, but will post when I do.

--- Ben
# Posted By Ben Forta | 7/4/07 4:06 PM
Wow!

Those numbers are great indeed!

I'm definitely installing CF8 right nnnn... hmmm... right after some sleep, might be better (3:30AM already!!!)

Best regards from Barcelona (we'll see you around here next October, right?) ;)
# Posted By Alexandre Madurell | 7/4/07 9:36 PM
One of the greatest sins in performance testing is micro benchmarks. As you know what your actually testing is how well JVM performs a task that it can cache and optimize to no acutely how the application performance will truly behave in a normal application under load.

To that effect though CF 8 does improve performance and I have run several performance tests on applications and seen some good performance increase but nothing like the orders of magnitude increase one might infer from these numbers. Best way to test is to take a app that you have good benchmarks for and test it following testing best practices (which would include testing it modeling realistic usage and behavior for at least a few hours and then repeating the test at least 5 times to get decent data) then compare the same code running CF 8.
# Posted By robi sen | 7/17/07 10:01 PM
I'm moving an app from 4.5 to 8 and have found no performance increase using the same code, same everything. My CFUG organizer said that was probably because CF8 increased speed from CFCs and since 4.5 didn't have CFCs I wasn't going to see a significant increase.

I hope my managers will think the pretty graphs make up for this . . .
# Posted By Kate M | 1/22/08 10:16 AM

  © Copyright 1997-2008 Ben Forta, All Rights Reserved