In article <20110321163550.GG4797(a)rjek.com>,
Rob Kendrick <rjek(a)netsurf-browser.org> wrote:
> >I am intrigued by the successive improvement and development of
> >Netsurf. Periodically I load a personal favourite page in Wikepedia,
> >just to see what changes are apparent in performance. It would seem
> >that loading and rendering of that page does indeed vary.
> >To what extent can one expect verbose logging to slow things down (I
> >use a rather slow machine, which I am not going to change this side
> >of Christmas). Is it possible to turn verbose logging on/off.
> Not tested, but in the !Run file near the bottom is the following line:
> Run <NetSurf$Dir>.!RunImage -v %*0 2><Wimp$ScrapDir>.WWW.NetSurf.Log
> If you put a | before the <Wimp$ScrapDir>.WWW.NetSurf.Log that should
> disable the logging.
With a copy of r12120, I put a | before -v in the expectation that logging
would be completely turned off. Three lines only were recorded in the log
file, related to fonts, in this case.
> Unless their is anything in the Netsurf code itself that expects to
> write to the log it should work, but I'm offering no guarantees.
Remove the -v flag. That is what enables verbose logging. Note
this simply stops NetSurf formatting and emitting the log data. It will
still involve checking "do I need to log this?"
Thanks, Rob. I also removed the -v flag, without putting an | anywhere.
NetSurf seemed to be entirely stable in both cases. As far as I could
tell, there was no discernible, subjective change in time in loading and
rendering files, in either case.
I guess that I must accept that my machine /is/ rather slow. But, as I am
retired I can make endless cups of tea whilst things happen. 8-)