You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by sp...@incubator.apache.org on 2004/09/09 18:49:13 UTC
[SpamAssassin Wiki] Updated: ProfilingRulesWithDprof
Date: 2004-09-09T09:49:13
Editor: JustinMason <jm...@jmason.org>
Wiki: SpamAssassin Wiki
Page: ProfilingRulesWithDprof
URL: http://wiki.apache.org/spamassassin/ProfilingRulesWithDprof
note stupid DProf bug
Change Log:
------------------------------------------------------------------------------
@@ -13,6 +13,8 @@
dprofpp -O 999 > profile.out
}}}
+Note that sometimes the {{{perl -d:DProf}}} line will produce a core dump! This seems to be a bug in DProf, and immediately re-running that line will work fine and produce usable output regardless.
+
You can also use the {{{spamassassin}}} script instead of {{{mass-check}}}, but {{{mass-check}}} scans more messages, and gives a better idea of per-message performance as it would appear where {{{spamd}}} is used.
'profile.out' now contains profiling output from the code. Due to the way that SpamAssassin compiles runs into perl functions, these will show up in the profile data. Here's an example: