<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=#606420 link=blue>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>I am
benchmarking Drools 4.0 and received excellent results in rule execution.
With our non-optimized test rule set and data, Drools out performed
ILOG/JRules by quite a bit. Congratulations to Drools' team for a job well
done.</FONT></SPAN></DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>I
encountered a strange behavior when trying to test the performance of rule
registration, meaning to add Package's to a new instance of
RuleBase. I ran the same test 5 times in a sequence, and the RuleBase
instance was discarded right away. The test ran with different different
number of packages, 20, 50, 100, and 200. The results are as the
followings:</FONT></SPAN></DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>Added
20 packages to rulebase in 0:00:0.15<BR>Added 20 packages to rulebase in
0:00:0.21<BR>Added 20 packages to rulebase in 0:00:0.21<BR>Added 20 packages to
rulebase in 0:00:0.301<BR>Added 20 packages to rulebase in 0:00:0.18<BR>Added 20
packages to rulebase 5 times in 0:00:1.051</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>Added
50 packages to rulebase in 0:00:0.17<BR>Added 50 packages to rulebase in
0:00:1.422<BR>Added 50 packages to rulebase in 0:00:1.252<BR>Added 50 packages
to rulebase in 0:00:1.322<BR>Added 50 packages to rulebase in
0:00:1.331<BR>Added 50 packages to rulebase 5 times in
0:00:5.497</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>Added
100 packages to rulebase in 0:00:0.19<BR>Added 100 packages to rulebase in
0:00:5.278<BR>Added 100 packages to rulebase in 0:00:5.297<BR>Added 100 packages
to rulebase in 0:00:5.228<BR>Added 100 packages to rulebase in
0:00:5.327<BR>Added 100 packages to rulebase 5 times in
0:00:21.32</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>Added
200 packages to rulebase in 0:00:0.22<BR>Added 200 packages to rulebase in
0:00:21.691<BR>Added 200 packages to rulebase in 0:00:21.481<BR>Added 200
packages to rulebase in 0:00:21.642<BR>Added 200 packages to rulebase in
0:00:21.341<BR>Added 200 packages to rulebase 5 times in
0:01:26.385</FONT></SPAN></DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>As you
can see, the timing of creating first RuleBase instance is always good, while
the subsequent one's were very bad. Is there an attribute I could adjust
in configuration to improve the performance for this scenario? Please
advise if there is other alternatives. I would be glad to
provide details if needed.</FONT></SPAN></DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff size=2>Your
help is greatly appreciated!</FONT></SPAN></DIV>
<DIV><SPAN class=460024517-02082007><FONT face=Arial color=#0000ff
size=2>-Ming</FONT></SPAN></DIV></BODY></HTML>