LMPEvi opened a new issue, #6870: URL: https://github.com/apache/incubator-kie-drools/issues/6870
### Describe the bug We use Drools with DMN models to evaluate data validity rules on massive data sets (400k+ rows). Our performance bottleneck is the Drools engine itself, the vast majority of the execution time is spent with FEEL evaluating and processing. When we upgraded from 8.44.2.Final to 10.x.x, we noticed a significant drop in performance in our workload -- for example, runs that previously took around 200s now take over 315s. With another set of inputs, the runs went from around 120s to 200s. We are fairly certain that the regression is within Drools in version 10.x.x onwards. We tested multiple times and eliminated issues on our end, and found a few examples of changes that were not in release notes that may explain at least some of the regressions. Do you have automated performance tests, and have you noticed regressions in performance like we have? ### Expected behavior _No response_ ### Actual behavior _No response_ ### How to Reproduce? _No response_ ### Output of `uname -a` or `ver` Linux 6.8.0-124-generic #124~22.04.1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux ### Output of `java -version` openjdk version "25.0.3" 2026-04-21 LTS ### GraalVM version (if different from Java) _No response_ ### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM) _No response_ ### Build tool (ie. output of `mvnw --version` or `gradlew --version`) Apache Maven 3.9.16 ### Additional information We used AI to explore past changes between 8.44.2.Final and 10.2.0. It found the following issue which we confirmed by performance testing again after fixing the issue; it also found other issues, but they are not as straight forward and we didn't thoroughly test them. The other issues were related to e.g. unnecessary iteration over lists. - Commit 8dac313955a: XQuery implementation instantiates the processor & compiler on every invocation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
