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

Drools 6.2 performance issue when using @ sign in drl file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3.0.CR2
    • 6.2.0.Final
    • core engine
    • None
    • NEW
    • NEW

      Our project has a need to use annotation (@) in drl files as a meta-data for each rule. E.g.

      rule "TEST RULE"
      @ID('ABC001')
      @FixedBy('Thomas')
      when
      ...

      While migrating from 6.1.0.Final to 6.2.0.Final, we noticed that there is a significant increase in the building time of the KieBase. The time needed for 6.2.0 is more than twice the 6.1.0. As we have quite a lot of KieBase configured, it is not acceptable.

      After some experiements, we found that it is due to the annotations in drl files. Are there any difference in the internal implementation of KieBuilder between that 2 minor versions which will cause that performance issue? If yes, may I know if it possible to fix it?

      Thanks & Regards,
      Thomas Leung

            mfusco@redhat.com Mario Fusco
            thomashlleung Thomas Leung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: