Large html pages and slow load times/high CPU usage
Kevin Cozens
kcozens-qazKcTl6WRFWk0Htik3J/w at public.gmane.org
Tue Jun 14 00:40:27 UTC 2005
Henry Spencer wrote:
>On Mon, 13 Jun 2005, Madison Kelly wrote:
>
>
>> Is the browser taking time because of the render time (each directory
>>creates a cell in a table)?
>>
>>
>
>Rendering of huge tables is almost always slow, especially if the machine
>doesn't have piles of memory. It's typically necessary for the browser to
>build up a data structure representing the *entire* table before it can
>decide how wide columns should be etc. This takes a long time and a very
>large amount of memory (the representation is often quite inefficient),
>and especially if that's driving your machine into paging/swapping, it's
>not too surprising that it's slow.
>
>
If the browser is causing a delay since it doesn't know how wide a
column should be, the simple solution for that part of the puzzle is to
specify the column widths so the browser can begin formatting text right
away.
--
Cheers!
Kevin. (http://www.interlog.com/~kcozens/)
Owner of Elecraft K2 #2172 |"What are we going to do today, Borg?"
E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus:
Packet:ve3syb at ve3yra.#con.on.ca.na| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list