Large html pages and slow load times/high CPU usage

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Tue Jun 14 00:55:49 UTC 2005


Kevin Cozens wrote:
> 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.

This I do already (though I didn't realize it would have a performance 
benefit, rather it was out of habit). Good to know though, thanks!

Madison



-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Madison Kelly (Digimer)
TLE-BU, The Linux Experience; Back Up
http://tle-bu.thelinuxexperience.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
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