[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
Wed Nov 7 20:57:44 EST 2007


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

I added in some GC and sleep, to see if it was stressing the VM, but no effect. 

I also added in some checks to make sure it wasn't just the first run of a new virgin rulebase, but to no avail. 

this is definitely a bug. 

> 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: Edson Tirelli
>         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