Hi

To trace down my NFS slownesses I tried to compile courier 0.37.3 and 
gdbm 1.7 with "-fprofile-arcs -g -pg" and make a gprof output. Sadly 
from the 25s I had to wait for output (the process was alive that long,
it's not browser problem) only 0.16 are shown or at least I cannot see
which function was the most time consuming. Can anybody help me?

thanks,

-christian-

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  Ts/call  Ts/call  name    
 25.00      0.04     0.04                             write
 12.50      0.06     0.02                             getc
 12.50      0.08     0.02                             open
 12.50      0.10     0.02                             read
  6.25      0.11     0.01                             _IO_default_xsputn
  6.25      0.12     0.01                             __getdents
  6.25      0.13     0.01                             _lxstat
  6.25      0.14     0.01                             close
  6.25      0.15     0.01                             readlink
  3.12      0.15     0.01                             Letext
  3.12      0.16     0.01                             strlen
  0.00      0.16     0.00   260028     0.00     0.00  addbuf
  0.00      0.16     0.00     2738     0.00     0.00  maildir_readheader
  0.00      0.16     0.00     2738     0.00     0.00 maildir_readheader_mimepart
  0.00      0.16     0.00     1360     0.00     0.00 print_safe_to_stdout
  0.00      0.16     0.00      992     0.00     0.00  messagecmp
  0.00      0.16     0.00      916     0.00     0.00  pass_image_through
  0.00      0.16     0.00      852     0.00     0.00  var_put_buf_func
  0.00      0.16     0.00      613     0.00     0.00  nonloginscriptptr
  0.00      0.16     0.00      505     0.00     0.00  _gdbm_findkey
  0.00      0.16     0.00      505     0.00     0.00  _gdbm_get_bucket
  0.00      0.16     0.00      505     0.00     0.00  _gdbm_hash
  0.00      0.16     0.00      409     0.00     0.00  get_elem
  0.00      0.16     0.00      408     0.00     0.00  parse_ul
  0.00      0.16     0.00      403     0.00     0.00  _gdbm_alloc
  0.00      0.16     0.00      403     0.00     0.00  _gdbm_end_update
  0.00      0.16     0.00      403     0.00     0.00  _gdbm_free
  0.00      0.16     0.00      403     0.00     0.00  _gdbm_put_av_elem
  0.00      0.16     0.00      403     0.00     0.00  _gdbm_write_bucket
  0.00      0.16     0.00      403     0.00     0.00  gdbm_store
  0.00      0.16     0.00      403     0.00     0.00  gdbmobj_store
...

-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
[EMAIL PROTECTED]     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Reply via email to