[spambayes-dev] sb_bnfilter performance

Jkx at Home jkx at pythonfr.org
Wed May 5 18:28:00 EDT 2004


On jeu, 2004-05-06 at 00:08, Toby Dickenson wrote:
> Ive been squeezing some more performance out of sb_bnfilter.....
> 
> I have a C implementation of sb_bnfilter that reduces filtering time
of a 
> typical email from 60ms (with the python sb_bnfilter.py) down to 21ms.
[those 
> times are for second and subsequent runs with sb_bnserver still
running]. For 
> comparison, the original sb_filter.py runs in 257ms.
> 

> These changes are in the bnfilter_in_c_branch CVS branch for now; they
dont 
> belong in the 1.0 release.

This sound great :) 
I hope this have the same behaviours that spamc have :
- disable sb_bnserver fork 
- specify username
- and support for unix domain and tcp .. 

I don't have the time to test this right now (i will be off) until 2/3 
days. But i think i gonna check/hack this soon. 

I put sb_global_server in a production mode (read for little groups of
users) and it's works pretty fine, ( mainly due to the hammie cache in)



Bye Bye. 







More information about the spambayes-dev mailing list