definately upgrade to latest 3.0.x version (3.0.6).<br><br>Also, those methods are were most of the work happens, its a common misconception that all the work happens lazily when you call &quot;fire all rules&quot; but that is not the case, as you assert each object, it propagates through the RETE network, so that is normal to see the time spent there for lots of data.
<br><br>you can also try the trunk version if you like, its certainly got some improvements, but the next milestone (if you can wait) will be more worth your time.<br><br>Michael.<br><br><div><span class="gmail_quote">On 4/12/07, 
<b class="gmail_sendername">Einat Idan</b> &lt;<a href="mailto:idan.einat@gmail.com">idan.einat@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I encountered a serious performance problem using Jboss Rules 3.0.1. The process was executed on a pretty strong machine - a DL350 4 cpu RedHat machine. The process was using about 100% CPU and I used a profiler to see what&#39;s going on: 
<br><br>My application adds/removes objects to/from the working memory of a stateful rule session quite intensively (2000-3000 per sec), though the intensive actions were related to a single rule session and only a few extra rule sessions existed simultaneously. It turned out that about 7-10% of CPU was consumed per a single add/remove operation. More specifically, 
ReteooWorkingMemory.doRetract() and ReteooWorkingMemory.doAssertObject() were the major consumers. I would expect a basic operation like this to be significantly less CPU intensive.<br><br>Would you please provide more information, is my benchmark too ambitious? Do you recommend an upgrade to version 
3.0.6? 3.1? If so, please elaborate what were the performance improvements.<br><br>Best regards,<br><span class="sg">Einat Idan<br><br><br><br><br>
</span><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div>
<br>