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





------- Additional Comments From [EMAIL PROTECTED]  2006-04-20 21:26 -------
oh, here's the script I used to parse the logs for that report --

#!/usr/bin/perl

while (<>) {
  /spamd: result: / or next;
  my $sc = 'no';
  /shortcircuit=(\S+)/ and $sc=$1;
  /scantime=([\d\.]+)/ or next;
  my $stime = $1;
  $msgs{$sc}++; $times{$sc}+=$stime;
  $msgs{all}++; $times{all}+=$stime;
}

foreach my $t (reverse sort keys %msgs) {
  my $avg = $times{$t} / ($msgs{$t} || 0.00001);
  print "sc=$t: $msgs{$t} messages, total time $times{$t}, avg $avg\n";
}




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

Reply via email to