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

MVELDialect.java::loadImportedClass optimization

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • None
    • None
    • core engine

    Description

      When doing a KieBuilder::buildAll, mvel dialect tries to import all functions looking for the class in the classpath first, which takes too long, and then in drools, which is pretty faster. I propose to exchange the order in which they are looked for a better performance.

      In my tests it's about 33%-50% faster. (in a DRL with 1000 rules and 50 function, ::buildAll goes from 10s to 6s)

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            nicolascerrejon Nicolás Cerrejón (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: