tracker issue : CF-3043546

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

Bug 86628:-(Watson Migration Closure)[mesher] IsInstanceOf() is much slower when this

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): marc esher / marc esher (marcesher)

Created: 03/09/2011

Components: CFComponent, Components

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

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on July 27, 2017 using build 2016.0.01.298513
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:

Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). It is much faster in CF2016 than in CF11 (tested w/ CF11 Update 7 - build 11.0.07.296330). Thanks!, -Aaron
Comment by Aaron N.
21145 | July 27, 2017 07:44:10 AM GMT