<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I've observed a sizable (25%) performance degradation between the 5.0.1 and 5.1.0 releases. &nbsp;I've attached a sample project that tests the performance of matching nested objects. (ANd compares direct reference matching and the performance pitfalls of "from," but that's beside the current point.)<div><br></div><div>If you switch the pom.xml from using 5.0.1 to 5.1.0 for the drools dependencies you'll see 25% longer execution times on the tests. (mvn test) &nbsp;</div><div><br></div><div>Here's the test output:</div><div><br></div><div>5.0.1</div><div><br></div><div><div>reference.drl Count: 2000</div><div>reference.drl Time: 267ms</div><div>reference.drl Time per element: 0.1335ms</div><div>BAR Duplicates: 780</div><div>FOO Duplicates: 880</div><div><br></div><div>reference.drl Count: 20000</div><div>reference.drl Time: 1249ms</div><div>reference.drl Time
 per element: 0.06245ms</div><div>BAR Duplicates: 7702</div><div>FOO Duplicates: 8040</div><div><br></div><div>from.drl Count: 200</div><div>from.drl Time: 1139ms</div><div>from.drl Time per element: 5.695ms</div><div>BAR Duplicates: 112</div><div>FOO Duplicates: 102</div><div><br></div><div>reference.drl Count: 200</div><div>reference.drl Time: 5ms</div><div>reference.drl Time per element: 0.025ms</div><div>BAR Duplicates: 86</div><div>FOO Duplicates: 60</div></div><div><br></div><div><br></div><div>5.1.0</div><div><br></div><div><div>reference.drl Count: 2000</div><div>reference.drl Time: 300ms</div><div>reference.drl Time per element: 0.15ms</div><div>BAR Duplicates: 788</div><div>FOO Duplicates: 820</div><div><br></div><div>reference.drl Count: 20000</div><div>reference.drl Time: 1564ms</div><div>reference.drl Time per element: 0.0782ms</div><div>BAR Duplicates: 8142</div><div>FOO Duplicates: 7960</div><div><br></div><div>from.drl Count:
 200</div><div>from.drl Time: 3543ms</div><div>from.drl Time per element: 17.715ms</div><div>BAR Duplicates: 68</div><div>FOO Duplicates: 90</div><div><br></div><div>reference.drl Count: 200</div><div>reference.drl Time: 13ms</div><div>reference.drl Time per element: 0.065ms</div><div>BAR Duplicates: 84</div><div>FOO Duplicates: 74</div></div><div><br></div><div><br></div><div>On the most taxing test (20k objects) 5.0.1 took&nbsp;1249ms while 5.1.0 took&nbsp;1564ms, and for larger tests the effect is more pronounced. &nbsp;This is primarily a test of == on object references.</div><div><br></div><div>GreG</div></td></tr></table><br>