I'm working on a large Flex project that is backed by CF (I'm the resident CF nerd ... no cool Flex stuff for me!). We're getting near the stage that a v1 (or Google Beta) will go live. When the initial server was setup, CF9 was not yet released nor had Railo and OpenBD been fully open-sourced. Understandably, a CF8 license was purchased and remains in use.
Earlier today, I ran a basic test between CF8, CF9, and Railo because my local copy of CF8 was taking forever to perform a certain task. This is totally unofficial but the difference in speed/performance between CF8 and CF9/Railo 3.1.1 was so shocking I wanted to add a post about it:
The Process:
- Read a 745 KB tab-delimited text file
- Loop over the contents of the file line-by-line (ignoring line 1)
- With each iteration, create an object
- Populate the object's properties from the current lines' content (there are only 6 items per line that map to the 6 properties in the bean or object)
- Add the newly created object to an array
- When done, return the array of objects to the calling template
- Loop over the array and output a few properties for each item in the array