Thursday, 28 January 2016

Re: Very slow page rendering

Am Donnerstag, den 28.01.2016, 21:04 +0000 schrieb Peter Slegg:

>
> https://www.royalmail.com/track-your-item
>
> Another page that took ages to display and looked like the css had
> failed as well.
>

Early versions of the atari port crashed because of stack size issues
(caused within mintlib regex module, called by NetSurf CSS parser, while
it was processing exorbitant strings (3k, which expanded to several
MegaBytes within mintlib regex module)...).

I prevented the crash by compiling mintlib with the
+DEFS=-DREGEX_MALLOC
define.

This is also applied to the CI builds.

Just a guess: there is some kind of slowdown when doing excessive malloc
operations with MiNT.

Greets,
Ole

No comments:

Post a Comment