On Mon, 9 Sep 2002 16:46:25 -0400, in cf-talk you wrote: >I have just finished upgrading my dev box to CFMX. After going through >a number of issues (search engine friendly URLs, problems with the >installer), I finally have working sites again - but the debug >execution times are simply unacceptable. I have 20 apps on this box >where every page execution was routinely 50 - 500 ms under 4.5 and 5.0. >Under MX, just about every page takes upwards of 2,000 - 20,000(!) ms. >I should note this is only the first load of a given page - subsequent >loads are normal. > >Is there some really obvious thing I'm overlooking? Has anyone else had >this experience? This is a Win2K box with 256MB RAM and a 650mhz >processor. Again, under CF 5.0 everything ran like clockwork.
That's the way it is and always is going to be with Java. You'll just have to get used to it. What you're running into is what's called the JIT - the Just-In-Time compiler. In say a C++ or Visual Basic or even Fortran or Cobol you compile the source code into machine language specific for a certain platform once, and then never bother with it again (upgrades not with-standing.) Java's different. Since it's supposed to run on any platform it's not compiled til it's first called. Thats' what that 20 second delay is -- your java source code is being *compiled* for the platform it's currently running on. After that's done once it'll run more or less at the same speed as say the original C++ version of CF. But anytime you make a change to any .CFM you're going to take a hit as the CF is converted into java and the Java's compiled. While you're developing you're just going to have to learn to live with this, Sorry. But it's not so much of a problem on a production machine fortunately. --min ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

