Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2923

DMN implement EvalHelper cache eviction PR #1997

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • dmn engine
    • None
    • 2018 Week 33-35
    • 3
    • NEW
    • NEW

      Submitted PR #1997 proposes a cache lookup for Method accessor for FEEL (EvalHelper#getGenericAccessor) but missing cache eviction make the optimization incompatible with KieContainer upgrade. This JIRA will provide report on optimization and cache eviction mechanism.

      Before, baseline of reference:

      After, with cache eviction as proposed by PR #1997

      We can notice the EvalHelper method is no longer a "hot spot" and the 10K evaluations of the model takes less than the creation of the DMNRuntime hence is no longer the top expensive operation in the test.

        1. screenshot-3.png
          359 kB
          Matteo Mortari
        2. screenshot-4.png
          275 kB
          Matteo Mortari
        3. screenshot-1.png
          347 kB
          Matteo Mortari
        4. screenshot-2.png
          271 kB
          Matteo Mortari

              mmortari@redhat.com Matteo Mortari
              mmortari@redhat.com Matteo Mortari
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: