Profiling...

Egon Willighagen egonw at subdimension.com
Fri May 11 13:42:00 CEST 2001


On Friday 11 May 2001 10:39, Joost van Baal wrote:
> On Fri, May 11, 2001 at 12:05:50AM +0200, Egon Willighagen wrote:
> > My machine is now working on a 80Mb large file and it is not going very
> > fast. This log file will grow in the next few weeks to about 500Mb, so i
> > can do serious performance testing.
> >
> > But it would be cool to add a profile mode. Now information is given
> > with, for example, "www all none lr_dlf2xml info". In place of "info" i
> > would like to have an additional "profiling" tag to given timing
> > information on the subprocesses...
> >
> > Shall i implement this?
>
> That will break lr_run.  The tags like 'info' and 'err' are exactly those
> as used by syslog.  See the lr_run manpage.  The idea is nice, however.
> Could you think of a different implementation?

Yes. We could use:

"www all none lr_dlf2xml debug profiling"

Since profiling would now be plain comment, logger would not object (or does 
it?). 

Egon

-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
development-request at logreport.org



More information about the Development mailing list