On June 16, 1999 at 12:31, Earl Hood wrote:
I just did a profile of my MH inbox (237 messages) at work:
Total Elapsed Time = 28.55217 Seconds
User Time = 21.96185 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
20.5 4.516 8.900 8921 0.0005 0.0010 mhonarc::replace_li_var
14.1 3.110 3.110 15 0.2073 0.2073 base64::b64decode
12.8 2.827 2.894 35 0.0808 0.0827 m2h_text_html::filter
9.27 2.035 2.072 314 0.0065 0.0066 m2h_text_plain::filter
7.00 1.538 1.528 642 0.0024 0.0024 readmail::MAILread_header
5.65 1.240 1.387 4079 0.0003 0.0003 readmail::MAILdecode_1522_str
5.59 1.228 1.124 5595 0.0002 0.0002 mhonarc::compute_msg_pos
5.41 1.188 6.827 237 0.0050 0.0288 mhonarc::output_mail
5.24 1.151 21.857 505 0.0023 0.0433 readmail::MAILread_body
4.86 1.068 1.065 238 0.0045 0.0045 readmail::MAILread_file_header
3.13 0.687 1.802 266 0.0026 0.0068 mhonarc::htmlize_header
2.27 0.499 0.305 10267 0.0000 0.0000 mhonarc::get_time_from_index
2.18 0.479 0.325 8158 0.0001 0.0000 readmail::load_charset
2.04 0.449 0.628 3 0.1498 0.2094 mhonarc::BEGIN
1.82 0.399 0.334 3461 0.0001 0.0001 mhonarc::exclude_field
This is MHonArc v2.3.3, Perl 5.005_02 on a SUNW,Ultra-5_10 running
Solaris 2.6 with 256M of RAM.
Oops, I forgot to note that file reads were occuring over NFS, but the
writes to local disk. The NFS will affect overall performance. Here
is a profile of the same data (NFS reads, local writes) of an intel
(Dell) box running Solaris i86x 2.6:
Total Elapsed Time = 28.24265 Seconds
User Time = 12.11249 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
17.2 2.088 4.015 8921 0.0002 0.0005 mhonarc::replace_li_var
12.9 1.567 1.605 35 0.0448 0.0458 m2h_text_html::filter
12.6 1.530 1.530 15 0.1020 0.1020 base64::b64decode
8.66 1.049 1.076 314 0.0033 0.0034 m2h_text_plain::filter
8.09 0.980 0.977 642 0.0015 0.0015 readmail::MAILread_header
7.92 0.959 12.206 505 0.0019 0.0242 readmail::MAILread_body
4.79 0.580 0.558 5595 0.0001 0.0001 mhonarc::compute_msg_pos
4.13 0.500 0.499 238 0.0021 0.0021 readmail::MAILread_file_header
3.56 0.431 3.072 237 0.0018 0.0130 mhonarc::output_mail
2.69 0.326 0.859 266 0.0012 0.0032 mhonarc::htmlize_header
2.48 0.300 0.536 4079 0.0001 0.0001 readmail::MAILdecode_1522_str
1.90 0.230 0.330 3 0.0766 0.1099 mhonarc::BEGIN
1.82 0.220 0.206 3461 0.0001 0.0001 mhonarc::exclude_field
1.49 0.180 0.164 4079 0.0000 0.0000 mhonarc::htmlize
1.40 0.170 0.137 8158 0.0000 0.0000 readmail::load_charset
--ewh