Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-6704

reuse ObjectMapper instance in DocumentSearchInternalUtils for better performance

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-rc3, 2.0
    • Component/s: Development, Performance
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-7631Performance hit on creating XPath instances during heavy use of XML routing in workflow
      KULRICE-10980Analysis on performance tasks
      KULRICE-8646Review Performance Issues with OLE's Instance Editor built with KRAD Screens
      KULRICE-8575Investigate reuse of XMLIngesterLegacyIT with XMLIngesterTest
      KULRICE-7960jQuery cleanup to improve effeciency of our script
      KULRICE-8946A few small things that can improve KRAD performance
      KULRICE-7497Action List should better leverage ActionItemActionListExtension, DocumentRouteHeaderValueActionListExtension, and more efficient eager loading to improve performance
      KULRICE-8250Improve EDocLite Performance
      KULRICE-13251Dialog Reuse Library Example: IndexOutOfBoundsException
      KULRICE-8957CloneUtils getFields Performance Improvement
    • Rice Module:
      KEW
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      ObjectMapper caches stuff internally, so reusing it makes performance much better for.

      Profiling doc search, we noticed that ObjectMapper.readValue (which is called inside DocumentSearchServiceImpl.getCriteriaFromSavedSearch inside DocumentSearchInternalUtils) seemed to be very slow. Some experimentation shows that reusing it was much faster.

        Activity

        Hide
        Jessica Coltrin (Inactive) added a comment -

        Closing since this item is now in the 2.0 release notes.

        Show
        Jessica Coltrin (Inactive) added a comment - Closing since this item is now in the 2.0 release notes.

          People

          • Assignee:
            Peter Giles (Inactive)
            Reporter:
            Peter Giles (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel