Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

[Bug 6963] Anybody cares for a saved millisecond or two in computing bayes probabilities for tokens?

 

 

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Jul 30, 2013, 11:59 AM

Post #1 of 3 (29 views)
Permalink
[Bug 6963] Anybody cares for a saved millisecond or two in computing bayes probabilities for tokens?

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6963

--- Comment #1 from Mark Martinec <Mark.Martinec [at] ijs> ---
Created attachment 5163
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5163&action=edit
The optimization patch

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


bugzilla-daemon at bugzilla

Jul 30, 2013, 12:08 PM

Post #2 of 3 (28 views)
Permalink
[Bug 6963] Anybody cares for a saved millisecond or two in computing bayes probabilities for tokens? [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6963

--- Comment #2 from Mark Martinec <Mark.Martinec [at] ijs> ---
Created attachment 5164
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5164&action=edit
The scattergram showing the drop in timing

The attached diagram shows elapsed times for computing bayes probabilities
for all messages passing through our server today during a day.
The x-axis is a time of the day in hours (morning to evening),
and the y-axis is elapsed time in milliseconds for each message,
as reported in the 'b_comp_prob' timing log entry.

At around 14:20 the original code was replaced by the optimized code,
which explains the drop in timing. The scattergram is bi-modal,
messages with just few tokens found in a bayes database are almost
unaffected by the change, just a tiny drop is perceived.
The cluster of typical larger messages show about 1.2 ms of
elapsed time reduction.

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


bugzilla-daemon at bugzilla

Aug 7, 2013, 2:48 AM

Post #3 of 3 (13 views)
Permalink
[Bug 6963] Anybody cares for a saved millisecond or two in computing bayes probabilities for tokens? [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6963

Mark Martinec <Mark.Martinec [at] ijs> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |3.4.0

--- Comment #3 from Mark Martinec <Mark.Martinec [at] ijs> ---
trunk:
Bug 6963: Anybody cares for a saved millisecond or two
in computing bayes probabilities for tokens?
Sending lib/Mail/SpamAssassin/Plugin/Bayes.pm
Committed revision 1511229.

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

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.