Title:
Bug 86628:-(Watson Migration Closure)[mesher] IsInstanceOf() is much slower when this
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): marc esher / marc esher (marcesher)
Created: 03/09/2011
Components: Language, CF Component
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 5
Problem:
[mesher] IsInstanceOf() is much slower when this.customTagPaths is specified in Application.cfc
Method:
Application.cfc:component{this.name = "isInstanceOfTest";this.customTagPaths = expandPath("../");}User.cfc:component{}index.cfm:<cfset obj = createObject("User")><cfset startTS = getTickCount()><cfset isIt = isInstanceOf(obj,"some.component")><cfset end = getTickCount() - startTS><cfoutput>#end#</cfoutput>In my tests, the time for isInstanceOf() will vary dramatically depending on how many components end up being in CustomTagPaths.Expected Behavior: isInstanceOf() should be just as fast regardless of this.CustomTagPaths setting in Application.cfc
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043546
External Customer Info:
External Company:
External Customer Name: marc esher
External Customer Email: 70390EBF47F01CAF992015B9
External Test Config: 03/09/2011
Attachments:
Comments: