help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] the test test - a more detailed analysis of image c


From: Stefan Schmiedl
Subject: Re: [Help-smalltalk] the test test - a more detailed analysis of image contents
Date: Mon, 20 Jul 2009 21:59:26 +0200

On Mon, 20 Jul 2009 21:34:32 +0200
Paolo Bonzini <address@hidden> wrote:

> st> (b := a allOwners) collect: [ :e | e class ]

allOwners ... good thing I didn't start writing a reference finder :-)

> st> b first attributes basicSize
> 32

is basicSize the RAM allocated for "the object itself", i.e. mostly the
pointers referencing other objects?

those are two very valuable tools ... thanks.
 
> st> b first children basicSize
> 16
> 
> 13 megabytes:
> 
> st> Iliad.RawHtmlElement allInstances count: [ :e | e children size = 0 
> & e attributes size = 0 ]
> 26945
> 
> plus 6 more for Iliad.BreakElement:

heh ... 6MB for <br/>? that's about all the breaks I need in a lifetime :-)

> I'll look at Accept later.

This is great. If Nico's reorganization action works out and if we can
further reduce the amount of RAM per element, Iliad will run really well
even with scarce resources.

I'll be tied up with other work until Wednesday, but hope to look at this
again then.

Thanks for all your effort,
s.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]