tracker issue : CF-3041907

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 83864:-(Watson Migration Closure)Creating unqualified imported components without the "Component Cache" on is EXTREMELY SLOW

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Elliott Sprehn / Elliott Sprehn (Elliott Sprehn)

Created: 08/18/2010

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 6

Problem:

Creating unqualified imported components without the "Component Cache" on is EXTREMELY SLOW. This is a huge performance hit that doesn't make sense. The performance hit of using "import" without the component cache enabled is so huge (almost 16 times slower) that the import statement is useless. Please hotfix this!
Method:

1. Create a directory "test" that contains a component named Test.cfc
2. Turn off "Component Cache" and "Trusted Cache" in the administrator.
3. Create an index.cfm that contains:
<cfscript>
import test.Test;
t = getTickCount();
new Test(); // Takes anywhere from 8-16ms !!!!
t = getTickCount()-t;
writeOutput("Unqualified: #t#ms<br>");
t = getTickCount();
new test.Test(); // Takes 0-1ms
t = getTickCount()-t;
writeOutput("Qualified: #t#ms<br>");
</cfscript>
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041907

External Customer Info:
External Company:  
External Customer Name: Elliott Sprehn
External Customer Email: 202D59C844579997992016B7
External Test Config: 08/18/2010

Attachments:

Comments: