You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Daniel Quinlan <qu...@pathname.com> on 2004/08/16 11:16:21 UTC

speed tests for current and old versions

Here are some runs of 3.0.0-pre1, 3.0.0-rc1, and 2.64, with no network and
no bayes.  I ran each a bunch of times first to get everything cached
evenly.  The run was a "mass-check -n --all" on 1000 recent spam and 400
randomly chosen ham.

  release    wall_time user_time sys_time
  2.64           80.10     77.22     0.32
  3.0.0-pre1    108.43    105.65     0.35
  3.0.0-pretrim  87.63     84.97     0.54
  3.0.0-rc1      86.09     83.00     0.48

3.0.0-pretrim is the SVN version right before checking in the zeroed rule
code removal/commenting patch.

That's a 21% speed improvement vs. pre1.  I'd also say the 2.3% gained by
getting rid of all that crud was also worth it.

(The extra wall time in each case is interesting.  Are we sleeping or
selecting somewhere for local tests?  Maybe that's the error or overhead
plus other stuff running on my system.)

Daniel

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/