On 8/2/10 7:53 AM, "Daniel Lemke" <le...@jam-software.com> wrote:
> > > Yet Another Ninja wrote: >> >> compiled rules only affects body & rawbody rules. >> Network tests won't be affected and are probably the reason for the lack >> of a massive difference. >> > > Good advice, I disabled all the other plugins and ran spamassassin in local > test mode, processing a huge text mail. > Without Rule2XSBody, 188 seconds. > With Rule2XSBody activated, 86 seconds. > > So this is a huge improvement, but has little to no effect on regular spam > as network tests will take more time in general. The question is not how processing one mail compares, but how 10 per second compare in each scenario. That's where the win is - lower total cpu utilization to accomplish the same work. But your numbers are really wacked out for duration. I grabbed a log of 16418 mailed processed since the log rolled over last. Only a third of them took more than 1 second - 4749. Only a eighth of them took over 2 seconds - 2008, less than 2% took over 5 seconds - 301, and a very tiny fraction (less than a half percent) took over 10 seconds - just 74 -- Daniel J McDonald, CCIE # 2495, CISSP # 78281