http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5590

           Summary: Scantime is very long unless "use bytes" hack is used
           Product: Spamassassin
           Version: 3.2.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


# spamd -V
SpamAssassin Server version 3.2.3
  running on Perl 5.8.8
  with zlib support (Compress::Zlib 2.004)
# uname -a
SunOS ornl71 5.9 Generic_118558-39 sun4u sparc SUNW,UltraAX-i2
Problem has been present since SA v3.2.1

Some messages take a very long time to scan (on the order of several minutes). 
This time is reduced substantially if "use bytes" is added to Message.pm.  For 
a test case, I did the following to minimize the effects of network lookups 
and local rules:
Added -L and -D to spamd startup
Turned off Bayes, AWL, razor, pyzor, DCC.
Set dns_available to "no".
Removed SARE and locally-defined rules.
Scanned the test message with spamc.
Results
With "use bytes" hack:  4 seconds
Without the hack:      23 seconds
Adding in SARE and local rules makes the gap even wider:
With "use bytes" hack:  16 seconds
Without the hack:      122 seconds



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to