Re: difficulty profiling

"Joe R. Jah" <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Sat, 10 Apr 2004, Lachlan Andrew wrote:

> Date: Sat, 10 Apr 2004 18:25:52 +1000
> From: Lachlan Andrew <[email protected]>
> To: [email protected]
> Subject: [htdig-dev] difficulty profiling
> 
> Greetings all,
> 
> I've been trying to profile  htdig,  but getting nonsense results.
> 
> If 'time' reports that htdig runs for 1 minute of CPU time, gprof 
> reports that it ran for 3 seconds, and doesn't report any of the 
> symbols in files in the db/ directory.  I've tried both  -p  and  
> -pg,  but they give the same odd output.
> 
> If anyone can profile properly, could you please mail me a profile?
> 
> Thanks,
> Lachlan

Hi Lachlan,

I compiled htdig-3.2.0b5 with -pg; the following patches applied:
DESTDIR.0 TMPFILE.0 extension_filter.0 fileSpace.0 operator[].0 and
robots.0

I ran htdig on ~13k documents; it ran about 40% slower than my regular
htdig, (without -pg).  I ran gprof htdig > htdig.gmon;gzip htdig.gmon,
and put the profile on the patch site, although it's not a patch;)

  ftp://ftp.ccsf.org/htdig-patches/3.2.0b5/htdig.gmon.gz

Hope it can help in improving htdig performance.

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [email protected]



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.