[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1317) Rule Execution Very Slow on Subsequent Session Using the Same Packages

Michael Neale (JIRA) jira-events at lists.jboss.org
Fri Nov 9 02:33:56 EST 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1317?page=comments#action_12386783 ] 
            
Michael Neale commented on JBRULES-1317:
----------------------------------------

OK fixed in trunk. reloadPackageCompilationData was not being reset when executingQueuedActions on a rulebase (in a sync block). 

Thanks to jprofiler for making this glaringly obvious !

This probably needs to be patched in 4.0.3 - its a one liner. 

> Rule Execution Very Slow on Subsequent Session Using the Same Packages
> ----------------------------------------------------------------------
>
>                 Key: JBRULES-1317
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1317
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Reteoo
>    Affects Versions: 4.0.3
>         Environment: Windows XP
>            Reporter: Ming Jin
>         Assigned To: Michael Neale
>         Attachments: testsource.zip
>
>
> Using the same packages, repeatedly creating a new ruleBase and stateless session, then executing rules.  The timing of rule execution was good on first time, but 6+ times slower on subsequent calls, such as the following:
> Time of rule execution: 0.06
> Time of rule execution: 3.956
> Time of rule execution: 3.926
> Time of rule execution: 3.995
> Time of rule execution: 3.906
> When under debugger, such as running in IntelliJ, the second execution call would pause (dead lock?).  I have a test program to demonstrate this behavior. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list