Re: quitting netsurf

2013-05-17 Thread Chris Young
On Thu, 16 May 2013 10:07:37 GMT, Tony Moore wrote:

> > > #1172 loads in 16 secs, and quits in 26 secs. The closing log is
> > > here https://dl.dropbox.com/u/77062274/Log_1172
> >
> > Thanks, please try #1175.
> 
> #1175 loads in 16 secs, and quits in 3 secs (even after visiting several
> websites).
> 
> Problem solved - many thanks.

I must admit I noticed a long time ago that NetSurf took ages to quit,
but I hadn't recognised it as an actual problem (I thought it was just
saving cookie files, history, etc).  It now shuts down the instant I
close it, much better!

Chris



Re: quitting netsurf

2013-05-16 Thread Tony Moore
On 15 May 2013, Michael Drake  wrote:
> In article <1e7e5d4c53.old_coaster@old_coaster.yahoo.co.uk>,
>Tony Moore  wrote:
>
> > #1172 loads in 16 secs, and quits in 26 secs. The closing log is
> > here https://dl.dropbox.com/u/77062274/Log_1172
>
> Thanks, please try #1175.

#1175 loads in 16 secs, and quits in 3 secs (even after visiting several
websites).

Problem solved - many thanks.

Tony






Re: quitting netsurf

2013-05-15 Thread Michael Drake
In article <1e7e5d4c53.old_coaster@old_coaster.yahoo.co.uk>,
   Tony Moore  wrote:

> #1172 loads in 16 secs, and quits in 26 secs. The closing log is here
> https://dl.dropbox.com/u/77062274/Log_1172

Thanks, please try #1175.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: quitting netsurf

2013-05-15 Thread Tony Moore
On 15 May 2013, Tony Moore  wrote:

[snip]

> #1172 loads in 16 secs, and quits in 26 secs. The closing log is here
> https://dl.dropbox.com/u/77062274/Log_1172

Another problem with #1172 (and #1125): #417 takes 6 secs to full-save
http://en.wikipedia.org/wiki/Main_Page , whereas #1172 takes 33 secs.
Could this be related to the delayed quit?

Tony






Re: quitting netsurf

2013-05-15 Thread Tony Moore
On 15 May 2013, Daniel Silverstone  wrote:
> On Wed, May 15, 2013 at 01:09:47PM +, Tony Moore wrote:
>
> > > Probably not.  Is your hotlist in the least bit private?  If it
> > > does not contain private URLs, having a copy (sent directly to me
> > > or another developer rather than in the open) would be very useful
> > > for diagnosing what it causing the slowness.
>
> > No problem. I've sent you a copy, off-list.
>
> Irritatingly this hotlist takes 4ms to save on my laptop (I don't have
> a RISC OS box) and I can't spot anything obvious in the hotlist save
> path.  I've annotated the hotlist save path with some logging and
> would appreciate it if you would do the trivial test of loading NS and
> quitting it, and then emailing me the log file.  Obviously you should
> use the latest CI build of NetSurf (#1172 or later).

#1172 loads in 16 secs, and quits in 26 secs. The closing log is here
https://dl.dropbox.com/u/77062274/Log_1172

Tony






Re: quitting netsurf

2013-05-15 Thread Daniel Silverstone
On Wed, May 15, 2013 at 01:09:47PM +, Tony Moore wrote:
> > Probably not.  Is your hotlist in the least bit private?  If it does
> > not contain private URLs, having a copy (sent directly to me or
> > another developer rather than in the open) would be very useful for
> > diagnosing what it causing the slowness.
> No problem. I've sent you a copy, off-list.

Irritatingly this hotlist takes 4ms to save on my laptop (I don't have a RISC
OS box) and I can't spot anything obvious in the hotlist save path.  I've
annotated the hotlist save path with some logging and would appreciate it if
you would do the trivial test of loading NS and quitting it, and then emailing
me the log file.  Obviously you should use the latest CI build of NetSurf
(#1172 or later).

D.

-- 
Daniel Silverstone   http://www.netsurf-browser.org/
PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69



Re: quitting netsurf

2013-05-15 Thread Tony Moore
On 15 May 2013, Daniel Silverstone  wrote:
> On Wed, May 15, 2013 at 11:58:03AM +, Tony Moore wrote:

> > The hotlist file size is 93KB, which I would not have thought to be
> > extraordinarily large, and, anyway, #417 manages to write it in 3
> > seconds, when quitting, but #1125 takes an order of magnitude
> > longer.
>
> Very interesting.
>
> > Would logs relating to this different behaviour be useful?
>
> Probably not.  Is your hotlist in the least bit private?  If it does
> not contain private URLs, having a copy (sent directly to me or
> another developer rather than in the open) would be very useful for
> diagnosing what it causing the slowness.

No problem. I've sent you a copy, off-list.

Tony






Re: quitting netsurf

2013-05-15 Thread Daniel Silverstone
On Wed, May 15, 2013 at 11:58:03AM +, Tony Moore wrote:
> The hotlist file size is 93KB, which I would not have thought to be
> extraordinarily large, and, anyway, #417 manages to write it in 3
> seconds, when quitting, but #1125 takes an order of magnitude longer.

Very interesting.

> Would logs relating to this different behaviour be useful?

Probably not.  Is your hotlist in the least bit private?  If it does not
contain private URLs, having a copy (sent directly to me or another developer
rather than in the open) would be very useful for diagnosing what it causing
the slowness.

D.

-- 
Daniel Silverstone   http://www.netsurf-browser.org/
PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69



Re: quitting netsurf

2013-05-15 Thread Tony Moore
On 14 May 2013, Daniel Silverstone  wrote:
> On Mon, May 13, 2013 at 05:36:29PM +, Tony Moore wrote:

> > For each result below, NS was quit, the Log file and Cache deleted,
> > NS was loaded, and then quit, without displaying any web pages
>
> It would be helpful if, in each case, the resultant log file was named
> appropriately and put in a folder.
>
> > For each result below, NS was quit, the Log file and Cache deleted,
> > NS was loaded, used to display three web pages.
> > http://news.bbc.co.uk/ , http://www.theregister.co.uk/ ,
> > http://www.iconbar.com/ , and then quit
>
> Ditto.
>
> And then, that whole folder could be zipped up and popped as an
> attachment to a bug report on our Sourceforge project, detailing your
> notes about timings and reproduction techniques.
>
> It would also help if you ran with nothing which would differ from a
> totally fresh install.  i.e. move your choices, hotlist, urldb etc out
> of the way.

After hiding choices and hotlist (in addition to the other files noted)
the problem goes away. For the record:

For each result below, NS was quit, the Log, Cache, Cookies, Hotlist and
URL files were deleted, NS was loaded, and then quit, without displaying
any web pages

   version load   quitlog
secsec KB

   #417   9  1 14
   v3.0   9  1 15
   #1125 json 9  1 14

For each result below, NS was quit, the Log, Cache, Cookies, Hotlist and
URL files were deleted, NS was loaded, used to display three web pages.
http://news.bbc.co.uk/ , http://www.theregister.co.uk/ ,
http://www.iconbar.com/ , and then quit

   version load   quitlog
secsec KB

   #417   9  1173
   v3.0   9  1421
   #1125 json 9  1484

I have the relevant logs but, since they record apparently normal
behaviour, there seems little point in posting them to Sourceforge.

Reinstating my choices file makes little difference to the results,
above, but reinstating the hotlist file, causes #1125 quitting to be
greatly delayed, as noted in a previous post.

The hotlist file size is 93KB, which I would not have thought to be
extraordinarily large, and, anyway, #417 manages to write it in 3
seconds, when quitting, but #1125 takes an order of magnitude longer.
Would logs relating to this different behaviour be useful?

Tony






Re: quitting netsurf

2013-05-14 Thread Daniel Silverstone
On Mon, May 13, 2013 at 05:36:29PM +, Tony Moore wrote:
> For each result below, NS was quit, the Log file and Cache deleted, NS
> was loaded, and then quit, without displaying any web pages

It would be helpful if, in each case, the resultant log file was named
appropriately and put in a folder.

> For each result below, NS was quit, the Log file and Cache deleted, NS
> was loaded, used to display three web pages. http://news.bbc.co.uk/ ,
> http://www.theregister.co.uk/ , http://www.iconbar.com/ , and then quit

Ditto.


And then, that whole folder could be zipped up and popped as an attachment to a
bug report on our Sourceforge project, detailing your notes about timings and
reproduction techniques.

It would also help if you ran with nothing which would differ from a totally
fresh install.  i.e. move your choices, hotlist, urldb etc out of the way.

D.

-- 
Daniel Silverstone   http://www.netsurf-browser.org/
PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69