Re: Performance on Debian Linux

2012-08-27 Thread Chris Young
On Sun, 26 Aug 2012 18:55:07 +0200, Ole wrote:

>  Looks like it is not good to try about:blank. It still has network
>  access involved:
> 
> >(0.575378) content/fetchers/curl.c fetch_curl_setup 365: fetch
> >0x8cd9458, url 'http://www.google.com/favicon.ico'
> 
>  Please try about:config.

Unlikely to make any difference; that favicon is fetched due to the
web search provider functionality.

I was meaning to look at caching favicons within URLdb a while back -
I think there may be benefits to that (we can call up favicons for
treeviews for instance).  They'd still need to be refreshed of course,
but I don't think the search provider needs to grab the absolute
latest favicon - the last time it was fetched would be fine.

That would solve this issue anyway.  A disk cache would also solve it,
but I'm not sure if that would allow us to associate bookmarked or
history URLs with favicons?

Chris



Re: Performance on Debian Linux

2012-08-26 Thread Ole
Am Sonntag, den 26.08.2012, 11:05 +0200 schrieb Wendell P 
:



Yea, it's still 6s with about:config. Why should fetching the favicon
take so long?


DNS, network layer setup, network latency...

At least it's clear that the first/single network access takes that 
long.


Thanks for reporting it. I believe you could also try to use a proxy to
cache the network access.

Greets,
Ole



Re: Performance on Debian Linux

2012-08-26 Thread Wendell P
On Sun, Aug 26, 2012, at 10:33 AM, Michael Drake wrote:
> In article
> <853f986283b9fd9996daf9e45b2364b5-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBeX15ZVF0WWVhoA1RWMl5cRUMCX1pYQF8=-webmailer2@s,
>Ole  wrote:
> > >(0.575378) content/fetchers/curl.c fetch_curl_setup 365: fetch
> > >0x8cd9458, url 'http://www.google.com/favicon.ico'
> 
> >  Please try about:config.
> 
> Nope, that fetch is from fetching the favicon in the toolbar search box. 
> I don't think it's possible to avoid that.  :(

Yea, it's still 6s with about:config. Why should fetching the favicon
take so long?

-- 
http://www.fastmail.fm - Send your email first class




Re: Performance on Debian Linux

2012-08-26 Thread Michael Drake
In article
<853f986283b9fd9996daf9e45b2364b5-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBeX15ZVF0WWVhoA1RWMl5cRUMCX1pYQF8=-webmailer2@s,
   Ole  wrote:

>  Looks like it is not good to try about:blank. It still has network
>  access involved:

> >(0.575378) content/fetchers/curl.c fetch_curl_setup 365: fetch
> >0x8cd9458, url 'http://www.google.com/favicon.ico'

>  Please try about:config.

Nope, that fetch is from fetching the favicon in the toolbar search box. 
I don't think it's possible to avoid that.  :(

-- 

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



Re: Performance on Debian Linux

2012-08-26 Thread Ole
Am Sonntag, den 26.08.2012, 09:19 +0200 schrieb Wendell P 
:




Tried it several times, still 6s. If it helps, while Firefox and 
Chrome

are faster, w3m is also very slow on my machine.

Here is "netsurf -v about:blank 2>logfile"


Looks like it is not good to try about:blank. It still has network
access involved:


(0.575378) content/fetchers/curl.c fetch_curl_setup 365: fetch
0x8cd9458, url 'http://www.google.com/favicon.ico'


Please try about:config.


Greets,
Ole



Re: Performance on Debian Linux

2012-08-26 Thread Wendell P
On Sun, Aug 26, 2012, at 03:48 AM, Michael Drake wrote:
> In article
> <1345913002.695.140661119461833.719c5...@webmail.messagingengine.com>,
> Looks like a 5 second wait for the fetch to start.  Perhaps slow DNS.
> 
> As Ole said, please try with a local page.  You can use NetSurf's
> about:blank or about:about generated pages.


Tried it several times, still 6s. If it helps, while Firefox and Chrome
are faster, w3m is also very slow on my machine.

Here is "netsurf -v about:blank 2>logfile"
-
(0.1) desktop/netsurf.c netsurf_init 160: version '2.9 (27th Febuary
2012)'
(0.154) desktop/netsurf.c netsurf_init 167: NetSurf on , node
, release <2.6.38-2-686>, version <#1 SMP Thu Apr 7 05:24:21 UTC
2011>, machine 
(0.178) desktop/netsurf.c netsurf_init 169: Using
'/home/base/.netsurf/Choices' for Options file
(0.849) utils/messages.c messages_load 124: Loading Messages from
'/usr/share/netsurf/en/Messages'
(0.8287) image/image_cache.c image_cache_init 380: Image cache
initilised with a limit of 3145728 hysteresis of 629145
(0.9622) content/fetchers/curl.c fetch_curl_register 167: curl_version
libcurl/7.21.4 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.20 libssh2/1.2.6
(0.13025) utils/useragent.c user_agent_build_string 72: Built user agent
"NetSurf/2.9 (Linux; i686)"
(0.13121) content/fetchers/curl.c fetch_curl_register 216:
option_ca_path: '/etc/ssl/certs'
(0.13148) content/fetchers/curl.c fetch_curl_register 228: cURL linked
against openssl
(0.13213) content/fetchers/curl.c fetch_curl_initialise 285: Initialise
cURL fetcher for http
(0.13241) content/fetchers/curl.c fetch_curl_initialise 285: Initialise
cURL fetcher for https
(0.13271) content/fetchers/data.c fetch_data_initialise 65:
fetch_data_initialise called for data
(0.13947) content/llcache.c llcache_initialise 286: llcache initialised
with a limit of 9437184 bytes
(0.14130) gtk/gui.c check_options 294: Using '/usr/share/netsurf/icons'
as Tree icons dir
(0.14170) desktop/tree.c tree_set_icon_dir 179: Tree icon directory set
to /usr/share/netsurf/icons
(0.14264) gtk/gui.c check_options 307: Using
'/home/base//.netsurf//Print' as Print Settings file
(0.14363) gtk/gui.c gui_init 374: Using '/usr/share/netsurf/' for
resource path
(0.66112) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/netsurf.glade' as netsurf glade template file
(0.76949) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/password.glade' as password glade template file
(0.84689) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/login.glade' as login glade template file
(0.92013) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/ssl.glade' as ssl glade template file
(0.97749) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/toolbar.glade' as toolbar glade template file
(0.105698) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/downloads.glade' as downloads glade template file
(0.11) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/history.glade' as history glade template file
(0.344836) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/options.glade' as options glade template file
(0.355335) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/hotlist.glade' as hotlist glade template file
(0.363624) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/cookies.glade' as cookies glade template file
(0.366708) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/warning.glade' as warning glade template file
(0.373932) gtk/gui.c gui_init 388: Using
'/usr/share/netsurf/SearchEngines' as Search Engines file
(0.374100) gtk/gui.c gui_init 392: Using
'/usr/share/netsurf/default.ico' as default search ico
(0.375649) gtk/gui.c gui_init 407: Using
'/usr/share/netsurf/toolbarIndices' as custom toolbar settings file
(0.381400) content/urldb.c urldb_load 351: Loading URL file
(0.382094) content/urldb.c urldb_load 503: Successfully loaded URL file
(0.382325) gtk/gui.c gui_init 429: Set CSS DPI to 95.976562
(0.391881) gtk/font_pango.c nsfont_pango_check 63: Creating
nsfont_pango_context.
(0.392049) gtk/font_pango.c nsfont_pango_check 68: Creating
nsfont_pango_layout.
(0.490313) gtk/window.c gui_create_browser_window 530: Creating gui
window 0x8c97f70 for browser window 0x8c97e80
(0.490436) gtk/scaffolding.c nsgtk_new_scaffolding 1659: Constructing a
scaffold of 0x8c97bf0 for gui_window 0x8c97f70
(0.497995) gtk/toolbar.c nsgtk_toolbar_customization_load 1048: empty
read toolbar settings
(0.575378) content/fetchers/curl.c fetch_curl_setup 365: fetch
0x8cd9458, url 'http://www.google.com/favicon.ico'
(0.647986) gtk/scaffolding.c nsgtk_new_scaffolding 1944: creation
complete
(0.658030) desktop/browser.c browser_window_go_post 832: bw 0x8c97e80,
url about:blank
(0.658334) desktop/browser.c browser_window_go_post 953: Loading
'about:blank'
(5.807908) content/content.c content__init 85: url about:blank ->
0x8b91c30
(5.808162) content/content.c content_add_user 555: content about:blank

Re: Performance on Debian Linux

2012-08-26 Thread Michael Drake
In article
<1345913002.695.140661119461833.719c5...@webmail.messagingengine.com>,
   Wendell P  wrote:

> (1.119215) content/fetchers/curl.c fetch_curl_setup 365: fetch
> 0x9368948, url 'http://www.google.com/'
> (6.283815) content/content.c content__init 85: url
> file:///usr/share/netsurf/icons/directory.png -> 0x91db6a0

Looks like a 5 second wait for the fetch to start.  Perhaps slow DNS.

As Ole said, please try with a local page.  You can use NetSurf's
about:blank or about:about generated pages.

e.g.

$ netsurf -v about:blank
 or
$ netsurf -v about:about

-- 

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



Re: Performance on Debian Linux

2012-08-26 Thread Ole
Am Samstag, den 25.08.2012, 09:43 +0200 schrieb Wendell P 
:


> On my machine, Chrome and Firefox each take 3s to boot, while 
Netsurf
> takes 6s. Is this typical or do you think there is something 
wrong?




Hello,

can you please test with an blank or at least simple *local* webpage?

I believe it's about the network layer within netsurf or your network 
might be slow.
AFAIK mozilla etc. load a local page at startup - and even if it is 
remote - it's probably

cached. Netsurf has no disk cache yet.

Please test it and tell us the results, thanks :) !

Greets,
Ole





Re: Performance on Debian Linux

2012-08-25 Thread Wendell P
On Fri, Aug 24, 2012, at 12:59 PM, Chris Young wrote:
> On Fri, 24 Aug 2012 12:09:17 -0700, Wendell P wrote:
> 
> > Netsurf 2.9 Debian distribution on Debian Wheezy.
> > 
> > On my machine, Chrome and Firefox each take 3s to boot, while Netsurf
> > takes 6s. Is this typical or do you think there is something wrong?
> 
> To diagnose both these issues a log file will be handy (start NetSurf
> with "nsgtk -v").

Here is the output of "netsurf -v 2>logfile" from a startup-shutdown.
-
(0.1) desktop/netsurf.c netsurf_init 160: version '2.9 (27th Febuary
2012)'
(0.161) desktop/netsurf.c netsurf_init 167: NetSurf on , node
, release <2.6.38-2-686>, version <#1 SMP Thu Apr 7 05:24:21 UTC
2011>, machine 
(0.182) desktop/netsurf.c netsurf_init 169: Using
'/home/mine/.netsurf/Choices' for Options file
(0.25655) utils/messages.c messages_load 124: Loading Messages from
'/usr/share/netsurf/en/Messages'
(0.74003) image/image_cache.c image_cache_init 380: Image cache
initilised with a limit of 3145728 hysteresis of 629145
(0.103449) content/fetchers/curl.c fetch_curl_register 167: curl_version
libcurl/7.21.4 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.20 libssh2/1.2.6
(0.107036) utils/useragent.c user_agent_build_string 72: Built user
agent "NetSurf/2.9 (Linux; i686)"
(0.107153) content/fetchers/curl.c fetch_curl_register 216:
option_ca_path: '/etc/ssl/certs'
(0.107182) content/fetchers/curl.c fetch_curl_register 228: cURL linked
against openssl
(0.107243) content/fetchers/curl.c fetch_curl_initialise 285: Initialise
cURL fetcher for http
(0.107270) content/fetchers/curl.c fetch_curl_initialise 285: Initialise
cURL fetcher for https
(0.107297) content/fetchers/data.c fetch_data_initialise 65:
fetch_data_initialise called for data
(0.129922) content/llcache.c llcache_initialise 286: llcache initialised
with a limit of 9437184 bytes
(0.130162) gtk/gui.c check_options 294: Using '/usr/share/netsurf/icons'
as Tree icons dir
(0.130225) desktop/tree.c tree_set_icon_dir 179: Tree icon directory set
to /usr/share/netsurf/icons
(0.130328) gtk/gui.c check_options 307: Using
'/home/mine//.netsurf//Print' as Print Settings file
(0.130444) gtk/gui.c gui_init 374: Using '/usr/share/netsurf/' for
resource path
(0.273779) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/netsurf.glade' as netsurf glade template file
(0.296219) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/password.glade' as password glade template file
(0.306543) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/login.glade' as login glade template file
(0.321653) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/ssl.glade' as ssl glade template file
(0.332633) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/toolbar.glade' as toolbar glade template file
(0.341072) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/downloads.glade' as downloads glade template file
(0.352912) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/history.glade' as history glade template file
(0.705146) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/options.glade' as options glade template file
(0.729210) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/hotlist.glade' as hotlist glade template file
(0.738362) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/cookies.glade' as cookies glade template file
(0.748198) gtk/gui.c nsgtk_new_glade 198: Using
'/usr/share/netsurf/warning.glade' as warning glade template file
(0.756752) gtk/gui.c gui_init 388: Using
'/usr/share/netsurf/SearchEngines' as Search Engines file
(0.756925) gtk/gui.c gui_init 392: Using
'/usr/share/netsurf/default.ico' as default search ico
(0.758956) gtk/gui.c gui_init 407: Using
'/usr/share/netsurf/toolbarIndices' as custom toolbar settings file
(0.782366) content/urldb.c urldb_load 351: Loading URL file
(0.797534) content/urldb.c urldb_load 503: Successfully loaded URL file
(0.798231) gtk/gui.c gui_init 429: Set CSS DPI to 95.976562
(0.807779) gtk/font_pango.c nsfont_pango_check 63: Creating
nsfont_pango_context.
(0.807942) gtk/font_pango.c nsfont_pango_check 68: Creating
nsfont_pango_layout.
(0.915954) gtk/window.c gui_create_browser_window 530: Creating gui
window 0x92f0d28 for browser window 0x92ec228
(0.916076) gtk/scaffolding.c nsgtk_new_scaffolding 1659: Constructing a
scaffold of 0x92ebff0 for gui_window 0x92f0d28
(0.923459) gtk/toolbar.c nsgtk_toolbar_customization_load 1048: empty
read toolbar settings
(1.35985) content/fetchers/curl.c fetch_curl_setup 365: fetch 0x9325580,
url 'http://www.google.com/favicon.ico'
(1.108821) gtk/scaffolding.c nsgtk_new_scaffolding 1944: creation
complete
(1.118766) desktop/browser.c browser_window_go_post 832: bw 0x92ec228,
url www.google.com
(1.119070) desktop/browser.c browser_window_go_post 953: Loading
'http://www.google.com/'
(1.119215) content/fetchers/curl.c fetch_curl_setup 365: fetch
0x9368948, url 'http://www.google.com/'
(6.283815) conte

Re: Performance on Debian Linux

2012-08-24 Thread Chris Young
On Fri, 24 Aug 2012 12:09:17 -0700, Wendell P wrote:

> Netsurf 2.9 Debian distribution on Debian Wheezy.
> 
> On my machine, Chrome and Firefox each take 3s to boot, while Netsurf
> takes 6s. Is this typical or do you think there is something wrong?

Sounds a bit slow.

> Also, I sometimes get:
> 
> "Netsurf in running out of memory.
>  Please free some memory and try again."
> 
> How do you free some memory?

The usual way?  Actually that's a fairly generic error NetSurf throws
up which can be a bit of a red herring.  What are you trying to do
when the error appears?  Is it reproduceable?  In which case, please
provide a test case so we can replicate (or at least see if it is
still an issue on the latest development version).

To diagnose both these issues a log file will be handy (start NetSurf
with "nsgtk -v").

Chris



Performance on Debian Linux

2012-08-24 Thread Wendell P
Netsurf 2.9 Debian distribution on Debian Wheezy.

On my machine, Chrome and Firefox each take 3s to boot, while Netsurf
takes 6s. Is this typical or do you think there is something wrong?

Also, I sometimes get:

"Netsurf in running out of memory.
 Please free some memory and try again."

How do you free some memory?

-- 
http://www.fastmail.fm - Same, same, but different...