[KULRICE-8928] Improve initialization of FreeMarker Parser Created: 06/Feb/13 Updated: 16/Jan/15
|Project:||Kuali Rice Development|
|Component/s:||Development, Performance, User Experience (UX)|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Daniel Epstein (Inactive)||Assignee:||Unassigned|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KRAD Feature Area:||
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Include in Release Notes?:||
I was doing some profiling on our application and a huge amount of time is being spent in the initialization of FMParser which is creating an exception called LookaheadSuccess. The way the exception is initialized many times, it will always fill in the stacktrace which is a very expensive operation and could be made much faster using a static variable. This has the potential to give KRAD a noticeable performance gain.
|Comment by Jessica Coltrin (Inactive) [ 18/Jun/13 ]|
removing m3 fix version since these aren't assigned and will not be done by Monday's m3 release.