Speed of loading NetSurf

2009-05-28 Thread Roger Darlington

Loading/Running NetSurf (on an Iyonix at least) seems to take 30 
seconds whereas running Oregano2 takes less that 3 seconds. [I am not 
including the time that NetSurf, when first run, uses looking at all 
the fonts].

Whilst I appreciate that the 10 times greater length of time spent 
running NetSurf may allow Netsurf to perform (when already running) 
much faster than Oregano2, is there any way of speeding up the 
loading/running of NetSurf?

Both weigh in at about 5MB total of code.

[Running NetSurf 2.1 (but any other version takes about the same 
length of time).]


-- 

Cheers
Roger
If you don't know where you're going, you'll end up somewhere else.



Re: Speed of loading NetSurf

2009-05-28 Thread Gavin Wraith
In message 28366c6250.roger...@rogerarm.freeuk.com you wrote:

 Loading/Running NetSurf (on an Iyonix at least) seems to take 30
 seconds whereas running Oregano2 takes less that 3 seconds. [I am not
 including the time that NetSurf, when first run, uses looking at all
 the fonts].

That is odd. For me (NetSurf r7590, Iyonix RO 5.14) from clicking on
!NetSurf's icon to the appearance of its iconbar icon takes under a
second. Or were you referring to the time it takes to download a
particular webpage? I find that that depends upon the vagaries of
the internet - time for domain-name lookup, etc - and the size of
the page.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Speed of loading NetSurf

2009-05-28 Thread Russell Hafter - Lists
In article 52ef6d6250.wra...@wra1th.plus.com, Gavin
Wraith ga...@wra1th.plus.com wrote:
 In message 28366c6250.roger...@rogerarm.freeuk.com you
 wrote:

  Loading/Running NetSurf (on an Iyonix at least) seems
  to take 30 seconds whereas running Oregano2 takes less
  that 3 seconds. [I am not including the time that
  NetSurf, when first run, uses looking at all the fonts].

 That is odd. For me (NetSurf r7590, Iyonix RO 5.14) from
 clicking on !NetSurf's icon to the appearance of its
 iconbar icon takes under a second.

Only six or seven seconds here on a strongarm RPC, NetSurf
2.1, RISC OS 4.02

-- 
Russell Hafter - Mailing Lists
rh.li...@phone.coop
Need a hotel? http://www.hrs.de/?client=en__MTcustomerId=416873103
(NB This link needs Firefox to work)



Re: Speed of loading NetSurf

2009-05-28 Thread Mike Hobbs
In message 28366c6250.roger...@rogerarm.freeuk.com Roger wrote:

 Loading/Running NetSurf (on an Iyonix at least) seems to take 30
 seconds whereas running Oregano2 takes less that 3 seconds. [I am not
 including the time that NetSurf, when first run, uses looking at all
 the fonts].
[snip]

Actually, I would like to suggest that the time taken for font
scanning is now an issue since NS 2.1. It now takes several minutes
to scan fonts on my home machine. Yes, I know its only on the
first time NS is run, but I can't help thinking that this is all
wasted time. After all, NS isn't going use all these fonts. Its
only likely to need the standard set of ROM fonts. Maybe font
scanning could be filtered?  And also, once the fonts have been
scanned where is the data cached? Is it wasting space somewhere
by retaining font data for fonts that will probably never be used?

Regarding non-font-related load time I don't seem to have a
problem on Virtual RPC. Its certainly not taking 30 seconds.


Mike





Re: Speed of loading NetSurf

2009-05-28 Thread Roger Darlington
On 28 May 2009, Michael Drake wrote:
 In article 28366c6250.roger...@rogerarm.freeuk.com,
Roger Darlington roger...@freeuk.com wrote:
 
 Loading/Running NetSurf (on an Iyonix at least) seems to take 30
 seconds whereas running Oregano2 takes less that 3 seconds.
 
 This can happen if you have a vast global history or collection of
 cookies. If you go to global history window and the cookie window and
 manager and delete unwanted stuff, does it get faster?
 
 Global history:  [iconbar menu] Open  Show global history
 Cookie manager:  [iconbar menu] Open  Show cookies

Second response:
Could it be the size of my NetSurf Memory cache, which is set at 
6.4MB?


-- 

Cheers
Roger
My friends think I'm surreal, but I've never been near a sword



Re: Speed of loading NetSurf

2009-05-28 Thread Michael Drake
In article 0a92786250.roger...@rogerarm.freeuk.com,
   Roger Darlington roger...@freeuk.com wrote:

 Second response:
 Could it be the size of my NetSurf Memory cache, which is set at 
 6.4MB?

That shouldn't matter.

Please could you zip up and e-mail me the contents of your Choices
directory for NetSurf. You can find it by double clicking OpenChoices in
NetSurf's application directory.

Michael

-- 

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




Re: Speed of loading NetSurf

2009-05-28 Thread Roger Darlington
On 28 May 2009, Michael Drake wrote:
 In article 0a92786250.roger...@rogerarm.freeuk.com,
Roger Darlington roger...@freeuk.com wrote:
 
 Second response:
 Could it be the size of my NetSurf Memory cache, which is set at
 6.4MB?
 
 That shouldn't matter.
 
 Please could you zip up and e-mail me the contents of your Choices
 directory for NetSurf. You can find it by double clicking OpenChoices in
 NetSurf's application directory.
 


OK, have sent that privately Michael.

This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache. This 
contains a whopping 202MB in 5866 files.


-- 

Cheers
Roger
Oh no! I've only just managed to get it all in of kilter.



bad formatting on whatismyisp

2009-05-28 Thread Jim Nagel
page display is unreadable:  http://whatismyip.com/

first tried with Netsurf 2.0, installed 2.1, no better.

-- 
Jim Nagelwww.archivemag.co.uk
   Abbey Press   32 Norbins Rd(01458) 83 3603
   Glastonbury   BA6 9JG pocket 0797 415 3861



Re: Speed of loading NetSurf

2009-05-28 Thread Michael Drake
In article 55618f6250.roger...@rogerarm.freeuk.com,
   Roger Darlington roger...@freeuk.com wrote:

 OK, have sent that privately Michael.

Thanks.

 This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache. This 
 contains a whopping 202MB in 5866 files.

The reason for the slow load and big cache is you have NetSurf set to
remember a year of browsing history.

In NetSurf's choices choose Security, and lower the value for Duration in
Site history. The default it 28 days.

I'm not sure why we put that option in the Security section.

Michael

-- 

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




Re: Speed of loading NetSurf

2009-05-28 Thread Tony Moore
On 28 May 2009, Michael Drake t...@netsurf-browser.org wrote:
 In article 55618f6250.roger...@rogerarm.freeuk.com,
Roger Darlington roger...@freeuk.com wrote:

[snip]

  This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache. This
  contains a whopping 202MB in 5866 files.

 The reason for the slow load and big cache is you have NetSurf set to
 remember a year of browsing history.

 In NetSurf's choices choose Security, and lower the value for Duration
 in Site history. The default it 28 days.

In my copy of NetSurf, Site history is set to 1 day, but Global history
still has entries for Yesterday, Tuesday, Monday, Last week, 2 weeks ago
and 3 weeks ago. It seems that expiry doesn't work correctly. I filed a
bug report on 3 October 2007:
http://sourceforge.net/tracker/index.php?func=detailaid=1806826group_id=51719atid=464312

The Cache contains thumbnail images, which should be displayed in the
expanded entries in Global history. However, the association, between
url and thumbnail, appears to be lost when NetSurf is quit so that,
apart from those relating to the current session, the thumbnails - and
cache - are superfluous. I described this problem, on 3 Dec 2008, in
message 03ccf80750.old_coas...@old_coaster.yahoo.co.uk but, in the
absence of any response, didn't file a bug report. Perhaps I should do
so now?

Tony






Re: Speed of loading NetSurf

2009-05-28 Thread Roger Darlington
On 28 May 2009, Michael Drake wrote:
 In article 55618f6250.roger...@rogerarm.freeuk.com,
Roger Darlington roger...@freeuk.com wrote:
 
 OK, have sent that privately Michael.
 
 Thanks.
 
 This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache. This
 contains a whopping 202MB in 5866 files..
 
 The reason for the slow load and big cache is you have NetSurf set to
 remember a year of browsing history.
 
 In NetSurf's choices choose Security, and lower the value for Duration in
 Site history. The default it 28 days.
 
 I'm not sure why we put that option in the Security section.

OK, thanks Michael.

with the scrapfile cache deleted, and it set to 28 days, it loads in a 
matter of 2 seconds :-))


-- 

Cheers
Roger
Do you Yahoo? Not if I can help it, but I do yell the occasional 
'Yabbadabba Doo'



Re: Speed of loading NetSurf

2009-05-28 Thread Michael Drake
In article 715a976250.old_coas...@old_coaster.yahoo.co.uk,
   Tony Moore old_coas...@yahoo.co.uk wrote:
 On 28 May 2009, Michael Drake t...@netsurf-browser.org wrote:
  In article 55618f6250.roger...@rogerarm.freeuk.com,
 Roger Darlington roger...@freeuk.com wrote:

 [snip]

   This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache. This
   contains a whopping 202MB in 5866 files.
 
  The reason for the slow load and big cache is you have NetSurf set to
  remember a year of browsing history.
 
  In NetSurf's choices choose Security, and lower the value for Duration
  in Site history. The default it 28 days.

 In my copy of NetSurf, Site history is set to 1 day, but Global history
 still has entries for Yesterday, Tuesday, Monday, Last week, 2 weeks ago
 and 3 weeks ago.

If I understand it right, the site history setting controls how long
things like thumbnails are kept in the cache. I think the global history
is fixed at 28 days.

Michael

-- 

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




Re: bad formatting on whatismyisp

2009-05-28 Thread David Pitt
Jim Nagel nets...@abbeypress.co.uk wrote:

 page display is unreadable:  http://whatismyip.com/
 
 first tried with Netsurf 2.0, installed 2.1, no better.
 

The problem is in the style sheet and is associated with percentage values
for right:, width:, left: etc. I vaguely recall reading that this is not yet
implemented, at least I think I do. I replaced the column settings
percentage values with improbably well judged/guessed absolute values and
the page displayed OK.  

To bypass the css save the page source and run it locally.

-- 
David Pitt

MessengerPro on iMac 



Re: bad formatting on whatismyisp

2009-05-28 Thread Brian Howlett
On 28 May, Jim Nagel wrote:

 page display is unreadable: http://whatismyip.com/

 first tried with Netsurf 2.0, installed 2.1, no better.

There are alternatives - try http://whatismyipaddress.com/
-- 
Brian Howlett
-
Isn't it strange that the same people that laugh at gypsy fortune
tellers take economists seriously?



Re: Speed of loading NetSurf

2009-05-28 Thread Tony Moore
On 28 May 2009, Michael Drake t...@netsurf-browser.org wrote:
 In article 715a976250.old_coas...@old_coaster.yahoo.co.uk,
Tony Moore old_coas...@yahoo.co.uk wrote:
  On 28 May 2009, Michael Drake t...@netsurf-browser.org wrote:
   In article 55618f6250.roger...@rogerarm.freeuk.com,
  Roger Darlington roger...@freeuk.com wrote:

  [snip]

This also prompted me to look in ScrapDirs.WWW.NetSurf.Cache.
This contains a whopping 202MB in 5866 files.
  
   The reason for the slow load and big cache is you have NetSurf set
   to remember a year of browsing history.
  
   In NetSurf's choices choose Security, and lower the value for
   Duration in Site history. The default it 28 days.

  In my copy of NetSurf, Site history is set to 1 day, but Global
  history still has entries for Yesterday, Tuesday, Monday, Last week,
  2 weeks ago and 3 weeks ago.

 If I understand it right, the site history setting controls how long
 things like thumbnails are kept in the cache. I think the global
 history is fixed at 28 days.

The User Guide says otherwise:

   Site history

  NetSurf records all the web sites you have visited as part of its
  global history feature. Entries can be deleted from the global
  history window directly and NetSurf allows the length of time
  items are kept in global history to be configured.

   Duration

  This option can be used to set the length of time entries are
  stored in global history, before they are deleted. Setting the
  duration to zero days turns off the global history feature.

Tony






Re: bad formatting on whatismyisp

2009-05-28 Thread Michael Drake
In article be82906250@nails.ukonline.co.uk,
   Jim Nagel nets...@abbeypress.co.uk wrote:

 page display is unreadable:  http://whatismyip.com/

 first tried with NetSurf 2.0, installed 2.1, no better.

Fixed in the latest test build:

http://www.netsurf-browser.org/downloads/riscos/testbuilds

Thanks for reporting.

-- 

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




Re: bad formatting on whatismyisp

2009-05-28 Thread David H Wild
In article 0be8996250.br...@bhowlett.adsl24.co.uk,
   Brian Howlett brian.gro...@brianhowlett.me.uk wrote:
  page display is unreadable: http://whatismyip.com/

  first tried with Netsurf 2.0, installed 2.1, no better.

 There are alternatives - try http://whatismyipaddress.com/

I wasn't very worried about the answer from the site, but woud be
interested to know why the erroneous display varied from day to day.
Thanks, though, for the other address.

-- 
David Wild using RISC OS on broadband
www.davidhwild.me.uk



Re: Speed of loading NetSurf

2009-05-28 Thread Rob Kendrick
On Thu, 28 May 2009 19:44:31 +0100
Steve Fryatt li...@stevefryatt.org.uk wrote:

  Maybe font canning could be filtered?  And also, once the fonts have
  been canned where is the data cached? Is it wasting space somewhere
  y retaining font data for fonts that will probably never be used?  
 
 It's stored in !Scrap (in a file called RUfl_cache).  On this
 machine, with a few fonts installed, it takes up 277K.  I think
 that's a reasonable price to pay for improved text display.

And is another reason why people shouldn't keep !Scrap in a RAM disc,
which is sadly a common misconceived practise (certainly on Iyonixes!)

I did specify a !Caches to go along with !Scrap at one point; and a
developer (whose name is clouded in an evening of real ale) has taken
the idea on; but I don't believe anything actually uses it.

B.