[KULRICE-7631] Performance hit on creating XPath instances during heavy use of XML routing in workflow Created: 09/Jul/12 Updated: 06/Sep/12 Resolved: 09/Jul/12
|Project:||Kuali Rice Development|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||James Bennett||Assignee:||James Bennett|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
There is a routing scenario in use at IU which involves heavy use of XML rule attributes. During this routing scenario the same document content is used to create new XPath instances when they could be reused. When the same XPath is reused it seems to do some sort of caching so that the results are found faster. After changing the code to reuse the same XPath instance where appropriate we found that the routing time for that scenario went from 30+ seconds to well under 10 seconds.
|Comment by James Bennett [ 09/Jul/12 ]|
The changes for this performance improvement have been contributed by IU.
|Comment by Jessica Coltrin (Inactive) [ 06/Sep/12 ]|
release notes are generated. closing issues.