[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

Status: Closed
Project: Kuali Rice Development
Component/s: Performance
Affects Version/s: None
Fix Version/s: 2.1.1
Security Level: Public (Public: Anyone can view)

Type: Improvement Priority: Major
Reporter: James Bennett Assignee: James Bennett
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rice Module:
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.

Generated at Thu Oct 29 17:20:49 CDT 2020 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.