[Webkit-unassigned] [Bug 36174] Short CachedScript decoded data timer causes performance degradations when using large javascript files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 14:26:14 PDT 2010


--- Comment #6 from David Leong <david.leong at nokia.com>  2010-06-02 14:26:11 PST ---
Did some more digging into this.

Most sites are returning UTF-8 encoded JS files, so if we keep the decoded version around forever it would double the memory use permanently for scripts. 
(Sites like engadget, wikipedia etc)

Right now we are storing the plain UTF-8 version and then keeping the decoded unicode version for very short time. The peak usage would be ~3x of keeping only the unicode version around.

I tried de-referencing the utf-8 version and just kept the decoded version around. Everything seems to work OK still.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list