Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-d:DProf is OK after rearrange (Re: some argument # ..



>                                            千葉市中央区長洲
>                                                    藤原  誠

藤> All 46 tests passed
藤> にはなっています。(stable-2-0)

実は、少し予想していたのですが -d:DProf しても NMZ.p* が出来
ていました。

> env top_builddir=`pwd` perl -d:DProf scripts/mknmz -O /tmp/O ~/Mail/ml/ftpmirror
...
116/116 - /home/makoto/Mail/ml/ftpmirror/116 [message/rfc822]
Writing index files...
[Base]
Date:                Sat Jul 26 11:55:02 2003
Added Documents:     116
Size (bytes):        417,281
Total Documents:     116
Added Keywords:      9,558
Total Keywords:      9,558
Wakati:              module_kakasi -ieuc -oeuc -w
Time (sec):          9
File/Sec:            12.89
System:              netbsd
Perl:                5.006001
Namazu:              2.0.13pre6

ttyp3:makoto@harry  11:55:02/030726(~...stable-2-0/namazu)> dprofpp -u
Total Elapsed Time = 8.295258 Seconds
         User Time = 7.237598 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c  Name
 31.9   2.310  2.310    116   0.0199 0.0199  File::MMagic::checktype_data
 17.1   1.240  1.138  16137   0.0001 0.0001  mknmz::hash
 11.4   0.830  0.819    696   0.0012 0.0012  mknmz::wordcount_sub
 9.81   0.710  0.710      1   0.7100 0.7099  mknmz::write_phrase_hash_sub
 5.32   0.385  1.465    116   0.0033 0.0126  mknmz::make_phrase_hash
 4.15   0.300  1.117    116   0.0026 0.0096  mknmz::count_words
 3.73   0.270  0.270      1   0.2700 0.2698  mknmz::write_index_sub
 3.39   0.245  0.373    116   0.0021 0.0032  mknmz::put_field_index
 3.18   0.230  0.230    116   0.0020 0.0020  mailnews::mailnews_citation_filter
 1.93   0.140  0.035   2733   0.0001 0.0000  IO::File::open
 1.93   0.140  0.140    116   0.0012 0.0012  mailnews::uuencode_filter
 1.80   0.130  3.080    116   0.0011 0.0265  mknmz::load_document
 1.66   0.120  0.119      1   0.1198 0.1191  mknmz::load_filters
 1.38   0.100  0.100    232   0.0004 0.0004  gfilter::white_space_adjust_filter
 1.38   0.100  0.265   2492   0.0000 0.0001  util::efopen
ttyp3:makoto@harry  11:55:15/030726(~...stable-2-0/namazu)> ls -l /tmp/O/NMZ.p*
-rw-r--r--  1 makoto  wheel   21669 Jul 26 11:55 /tmp/O/NMZ.p
-rw-r--r--  1 makoto  wheel  262144 Jul 26 11:55 /tmp/O/NMZ.pi
ttyp3:makoto@harry  11:55:31/030726(~...stable-2-0/namazu)> 

---
(藤原)