-
Task
-
Resolution: Not a Bug
-
Major
-
None
-
8.41.0.Final
-
NEW
-
NEW
-
---
-
---
There is significant regression downgrade in the performance tests related to SubNetwork feature.
The commit that affected the change: https://github.com/kiegroup/drools/commit/8598a3d275e30ed41f5be143b5d9c897ff4beb42
drl under benchmark
rule X when
($n00 : Node(segment == 0, join == 0) and $n01 : Node(segment == 0, join == 1))
acc(($n30 : Node(segment == 3, join == 0) and $n31 : Node(segment == 3, join == 1)) and
acc(($n20 : Node(segment == 2, join == 0) and $n21 : Node(segment == 2, join == 1)) and
acc(($n10 : Node(segment == 1, join == 0) and $n11 : Node(segment == 1, join == 1)),
$count1 : count($n11) ),
$count2 : count($n21) ),
$count3 : count($n31) )
then
list.add($n01 + ":" + $count3);
end
The benchmark to reproduce:
https://github.com/kiegroup/kie-benchmarks/blob/a9642062b907473cfdc218e75910944b6861cc4a/drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/SubNetworkBenchmark.java#L72
Jmh command to reproduce
java -jar ./drools-benchmarks-parent/drools-benchmarks/target/drools-benchmarks.jar -gc true -jvmArgs "-Xms6144m -Xmx6144m" -wi 30 -i 20 -f 5 -foe true -p nestedAccumulates=true -p joinCount=2 -p objectsPerSegment=15 -p perSegmentUpdate=true -p segmentCount=3 -bm ss -rf csv -rff jmh-result.csv 'org.drools.benchmarks.turtle.runtime.SubNetworkBenchmark'
- is caused by
-
DROOLS-7462 Sporadic class cast exception during stateful session updating
- Resolved