>> Would it be useful to show the number of hits for each test in the
>> Timings reports, as in (the parenthesis below):
>> ...
>> 1544   Total messages scanned
>> ...
>>
>> =======================================================================
>> Scan Time Percentiles  % Time   Total (s)       10%       90%      100%
>> -----------------------------------------------------------------------
>> SA check (1386)        51.79%    4986.828     0.928    16.028    45.704
>> AV-scan-2 (1536)       39.19%    3772.945     2.223     3.237     5.202
>> SMTP DATA (1544)        3.21%     308.638     0.188     0.199     1.206
>> AV-scan-1 (1536)        2.73%     262.969     0.021     0.180    22.635
>> ...
>> get-file-type2 (325)    0.11%      10.436     0.018     0.049     0.631
>>
>> I could place them in a column, or just after the test name as above and
>> in other reports.
>>
>> Suggestions?

Stefan Förster wrote:
> I'd go for the solution you showed above.

Mark Martinec wrote:
> Sounds useful.
> I don't have particular opinion regarding the placement of the counter,
> the above looks fine to me.

I've updated amavis-logwatch (version 1.49.06) to include the hit
totals.  This version also introduces a SpamAssassin Timings percentiles
report (requires Amavis 2.6 and SpamAssassin 3.3).

Changes:
2008-06-18 (version: 1.49.06)
 - New: Include hit counts after each key name in Timings report.
 - New: SpamAssassin timings percentiles report.  Options:
   sa_timings, sa_timings_percentiles.  Requires amavis version
   2.6+ and SpamAssassin 3.3+.
 - Change: Scan Times percentiles report units have been changed to
   milliseconds rather than seconds.
 - Change: Removed the "Hypothetical" row from timings reports; it
   was not very meaningful.

Example reports:

========================================================================
Scan Timing Percentiles  % Time  Total (ms)       0%       50%      100%
------------------------------------------------------------------------
AV-scan-2 (3)            69.23%     7209.00  2392.00   2407.00   2410.00
SA check (2)             19.74%     2056.00   942.00   1028.00   1114.00
SMTP DATA (3)             5.49%      572.00   189.00    191.00    192.00
AV-scan-1 (3)             0.82%       85.00    11.00     27.00     47.00
...
------------------------------------------------------------------------
Total                              10413.00  2771.00   3732.00   3910.00
========================================================================

========================================================================
SA Timing Percentiles  % Time   Total (ms)        0%       50%      100%
------------------------------------------------------------------------
tests_pri_0 (1)        97.17%      5323.00   5323.00   5323.00   5323.00
check_razor2 (1)       91.68%      5022.00   5022.00   5022.00   5022.00
check_dcc (1)           3.50%       192.00    192.00    192.00    192.00
learn (1)               0.66%        36.00     36.00     36.00     36.00
tests_pri_-1000 (1)     0.46%        25.00     25.00     25.00     25.00
...
------------------------------------------------------------------------
Total                              5478.00   5478.00   5478.00   5478.00
========================================================================

Mike


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to