Welcome, Guest. Please login or register.

Author Topic: NetSurf 3.6 web browser released!  (Read 19432 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Primax

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 30
    • Show only replies by Primax
Re: NetSurf 3.6 web browser released!
« Reply #44 on: November 25, 2016, 09:26:21 PM »
Some little tests on my Amiga1200 with 1230/50 accelerator:
Netsurf  took - with best configuration - 35,6 seconds to load amiga-news.de  using the version before, now takes 31,8 seconds. Jumping to aminet.net  (35 seconds) and back to amiga-news.de (31,1 seconds). Holding shift and  reload it, Netsurf took 30,8 seconds. So I guess if I reload it ten  times I can break the 20 seconds mark...:)

In any case: Thanks for the new version!
By the way: 90 seconds for amiga.org. And it looks quite bloated. The font is much to big.
 

Offline utri007

Re: NetSurf 3.6 web browser released!
« Reply #45 on: November 25, 2016, 11:07:31 PM »
Thanks. Amiga.org is diffult site to render.

Amigaworld.net 17 seconds.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline olsen

Re: NetSurf 3.6 web browser released!
« Reply #46 on: November 27, 2016, 09:24:10 AM »
Quote from: Primax;816887
Some little tests on my Amiga1200 with 1230/50 accelerator:
Netsurf  took - with best configuration - 35,6 seconds to load amiga-news.de  using the version before, now takes 31,8 seconds. Jumping to aminet.net  (35 seconds) and back to amiga-news.de (31,1 seconds). Holding shift and  reload it, Netsurf took 30,8 seconds. So I guess if I reload it ten  times I can break the 20 seconds mark...:)
If you keep it at, at some point you'll be able to see web pages before you have decided to visit them, which leads to the possibility of being able to read next week's lottery numbers ;)

But seriously, the longer you use the web browser, the better the new memory management system will adapt. When you switch to a new web page, NetSurf has to break up the memory allocated for all the old page's components, then reuse it for the new page.

Imagine smashing up all your crockery after dinner, then glueing it all back together for the next meal. The fragments will become smaller and smaller over time, making it harder to find those which fit together well enough. Larger fragments need to be broken up into smaller pieces to make them fit with the rest.

That's exactly the problem which NetSurf has. The new memory management system helps here by sorting the fragments into bins from which they can be retrieved more easily without having to smash larger fragments. The longer you use it, the better the new memory management system will know which bin sizes are needed the most, and the more readily-available fragments it will keep at hand.
« Last Edit: November 27, 2016, 09:33:17 AM by olsen »
 

Offline utri007

Re: NetSurf 3.6 web browser released!
« Reply #47 on: November 27, 2016, 10:59:48 AM »
How it will perform "low memory" situations? I was surfing with my A1200, 68040 and 32mb ram system after Netsurf is loaded there is about 11mb free ram. Ram was eated up quite fast, if surfing to other sites ie. amiga.org - > amigaworld.net -> wikipedia.org. There is no problem is just surfing one site, ie. amiga.org -> forums -> thread -> amiga.org
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline olsen

Re: NetSurf 3.6 web browser released!
« Reply #48 on: November 27, 2016, 03:10:03 PM »
Quote from: utri007;816943
How it will perform "low memory" situations? I was surfing with my A1200, 68040 and 32mb ram system after Netsurf is loaded there is about 11mb free ram. Ram was eated up quite fast, if surfing to other sites ie. amiga.org - > amigaworld.net -> wikipedia.org. There is no problem is just surfing one site, ie. amiga.org -> forums -> thread -> amiga.org


How much memory is being consumed needs to be measurable. To this end I just added new code to clib2 which produces machine-readable status information in JSON format. I hope that Chris will add support for it in NetSurf, so that snapshots of this status information could be saved and submitted for analysis.
 

Offline utri007

Re: NetSurf 3.6 web browser released!
« Reply #49 on: November 27, 2016, 03:38:30 PM »
Chris: Would it be easy thing to fix iconify button?
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chrisTopic starter

Re: NetSurf 3.6 web browser released!
« Reply #50 on: November 27, 2016, 05:04:43 PM »
@olsen

Added, but I don't think it is working properly: http://www.cy2.uk/tmp/ns-stats.json.gz

@utri007

I can fix it by removing it.  I didn't think there was an Iconify button anyway!
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Oldsmobile_Mike

Re: NetSurf 3.6 web browser released!
« Reply #51 on: November 27, 2016, 05:32:26 PM »
Quote from: chris;816946

@utri007

I can fix it by removing it.  I didn't think there was an Iconify button anyway!


Aah! Don't do that! ;)

There definitely is a button (you can see it in all my screenshots) and it definitely doesn't work. Having a program open in full screen, on the Workbench screen, covering everything else, with no easy way to make it smaller... Sure would be nice if Iconify worked. ;)
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline chrisTopic starter

Re: NetSurf 3.6 web browser released!
« Reply #52 on: November 27, 2016, 07:18:05 PM »
Quote from: Oldsmobile_Mike;816947
Aah! Don't do that! ;)

There definitely is a button (you can see it in all my screenshots) and it definitely doesn't work. Having a program open in full screen, on the Workbench screen, covering everything else, with no easy way to make it smaller... Sure would be nice if Iconify worked. ;)


Resize and Zoom will work. Iconify uses a new feature of OS4, and it's a PITA to change.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline olsen

Re: NetSurf 3.6 web browser released!
« Reply #53 on: November 27, 2016, 07:52:37 PM »
Quote from: chris;816946
@olsen

Added, but I don't think it is working properly: http://www.cy2.uk/tmp/ns-stats.json.gz


Something isn't right. The strftime() appears to produce no output whatsoever in the archive, and the vsnprintf() function doesn't even convert %zu output correctly.

The code which prepares the JSON data for output, one line at a time, uses the clib2 vsnprintf() function. There are two tests for it in both the library and the "slab-test.c" program, and they both worked.

Does NetSurf replace vsnprintf() or strftime()? That's my only guess. The output in the archive went completely off the rails...
 

Offline utri007

Re: NetSurf 3.6 web browser released!
« Reply #54 on: November 27, 2016, 08:10:53 PM »
Quote from: Oldsmobile_Mike;816947
Aah! Don't do that! ;)

There definitely is a button (you can see it in all my screenshots) and it definitely doesn't work. Having a program open in full screen, on the Workbench screen, covering everything else, with no easy way to make it smaller... Sure would be nice if Iconify worked. ;)


Do you mean that you can't do this (sse picture) ;)

Iconify would be nice, but I ques remove button would be OK at least as an temporarily solution.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chrisTopic starter

Re: NetSurf 3.6 web browser released!
« Reply #55 on: November 27, 2016, 08:12:14 PM »
Quote from: olsen;816953
Something isn't right. The strftime() appears to produce no output whatsoever in the archive, and the vsnprintf() function doesn't even convert %zu output correctly.

The code which prepares the JSON data for output, one line at a time, uses the clib2 vsnprintf() function. There are two tests for it in both the library and the "slab-test.c" program, and they both worked.

Does NetSurf replace vsnprintf() or strftime()? That's my only guess. The output in the archive went completely off the rails...

Ah, looks like strftime gets replaced. Before I change this, do you know if this comment is valid?

Code: [Select]
/* Although these platforms might have strftime or strptime they
 *  appear not to support the time_t seconds format specifier.
 */

(edit although there's a define to tell NetSurf not to use strftime, it doesn't seem to define strftime anywhere, so I'm not sure this will make a difference anyway)
« Last Edit: November 27, 2016, 08:24:40 PM by chris »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline apsturk

  • Full Member
  • ***
  • Join Date: Jan 2014
  • Posts: 221
    • Show only replies by apsturk
    • http://amigaonthelake.com
Re: NetSurf 3.6 web browser released!
« Reply #56 on: November 27, 2016, 10:22:44 PM »
@chris

I have a problem and no idea what is wrong. I downloaded NetSurf and I get the the this (pic attached) every time I launch it. Any ideas what is wrong??
Thanks
AmigaOnTheLake.com
AmigaOne X1000 | OS4.1FE | Radeon R9 280X | 480Gb SSD | 4Gb | 27 ViewSonic VP2770|
Amiga 500 | CPU 68010| Megachip 2 meg | Kickstart 3.1 | GVP 500HD+8 ROM 4.15 8 meg fast ram | ECS Indevision | SCSI2SD 4gig | BetterWB 4.0 | CD - Zip drives and Plipbox.
Amiga 1200 | Indivision 1200 AGA MK2cr | CF 4gig | ACA 1233 55.55mhz | OS3.9 | FastATA 1200 MK-V | Rapid Road
2 MorphOS Paid for copies. Running on Mac Mini 1.5Ghz
 

Offline chrisTopic starter

Re: NetSurf 3.6 web browser released!
« Reply #57 on: November 27, 2016, 11:53:25 PM »
Quote from: apsturk;816957
@chris

I have a problem and no idea what is wrong. I downloaded NetSurf and I get the the this (pic attached) every time I launch it. Any ideas what is wrong??
Thanks


Firstly, you are running the OS4 version on OS4, yes?
Secondly, I'll need the crashlog. Just the "stack trace" section, it's short so post it here.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline apsturk

  • Full Member
  • ***
  • Join Date: Jan 2014
  • Posts: 221
    • Show only replies by apsturk
    • http://amigaonthelake.com
Re: NetSurf 3.6 web browser released!
« Reply #58 on: November 28, 2016, 12:55:03 AM »
Yes Sir. AmigaOS4.1FE on an X1000. Crash log to big 31.5 kb limit on site is 19.5kb

Thanks
AmigaOnTheLake.com
AmigaOne X1000 | OS4.1FE | Radeon R9 280X | 480Gb SSD | 4Gb | 27 ViewSonic VP2770|
Amiga 500 | CPU 68010| Megachip 2 meg | Kickstart 3.1 | GVP 500HD+8 ROM 4.15 8 meg fast ram | ECS Indevision | SCSI2SD 4gig | BetterWB 4.0 | CD - Zip drives and Plipbox.
Amiga 1200 | Indivision 1200 AGA MK2cr | CF 4gig | ACA 1233 55.55mhz | OS3.9 | FastATA 1200 MK-V | Rapid Road
2 MorphOS Paid for copies. Running on Mac Mini 1.5Ghz
 

Offline apsturk

  • Full Member
  • ***
  • Join Date: Jan 2014
  • Posts: 221
    • Show only replies by apsturk
    • http://amigaonthelake.com
Re: NetSurf 3.6 web browser released!
« Reply #59 from previous page: November 28, 2016, 01:29:55 AM »
I reread your question. Here is the stack trace
Stack trace:
    [frontends/amiga/gui.c:5356] ami_gui_splash_open()+0x21c (section 1 @ 0x1773D8)
    [frontends/amiga/gui.c:5352] ami_gui_splash_open()+0x214 (section 1 @ 0x1773D0)
    native kernel module newlib.library.kmod+0x000020a4
    native kernel module newlib.library.kmod+0x00002d54
    native kernel module newlib.library.kmod+0x00002ee8
    _start()+0x170 (section 1 @ 0x16C)
    native kernel module dos.library.kmod+0x00024c18
    native kernel module kernel+0x00042654
    native kernel module kernel+0x000426d4



Thanks
AmigaOnTheLake.com
AmigaOne X1000 | OS4.1FE | Radeon R9 280X | 480Gb SSD | 4Gb | 27 ViewSonic VP2770|
Amiga 500 | CPU 68010| Megachip 2 meg | Kickstart 3.1 | GVP 500HD+8 ROM 4.15 8 meg fast ram | ECS Indevision | SCSI2SD 4gig | BetterWB 4.0 | CD - Zip drives and Plipbox.
Amiga 1200 | Indivision 1200 AGA MK2cr | CF 4gig | ACA 1233 55.55mhz | OS3.9 | FastATA 1200 MK-V | Rapid Road
2 MorphOS Paid for copies. Running on Mac Mini 1.5Ghz