Issue 3537 in pharo: Addinf inst average size to SpaceTally

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3537 in pharo: Addinf inst average size to SpaceTally

pharo
Status: Accepted
Owner: marianopeck
Labels: Milestone-1.2

New issue 3537 by marianopeck: Addinf inst average size to SpaceTally
http://code.google.com/p/pharo/issues/detail?id=3537

Hi. I did a little change to SpaceTally to add one more column which  
represents the instance average size per class

So. before if you evaluated: SpaceTally new printSpaceAnalysis
you get a file something like this:

Class                           code space # instances  inst space percent
Bitmap                                3525         227       3373140    14.4
Array                                 2152       82896       2804472    12.0
ByteSymbol                            1062       40714       1037516     4.4
....

Now, you get something like this:

Class                                          code space # instances  inst  
space     percent   inst average size
ByteString                                           1984       96048        
6598440       24.40               68.70
Bitmap                                               3525         328        
5908048       21.80            18012.34
CompiledMethod                                      19125       65347        
4061396       15.00               62.15
Array                                                2152       88541        
3024132       11.20               34.16
.....


Pharo core version: 12300



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3537 in pharo: Addinf inst average size to SpaceTally

Mariano Martinez Peck
guys, let me know what do you think about this change.

cheers

mariano

On Thu, Jan 13, 2011 at 10:20 AM, <[hidden email]> wrote:
Status: Accepted
Owner: marianopeck
Labels: Milestone-1.2

New issue 3537 by marianopeck: Addinf inst average size to SpaceTally
http://code.google.com/p/pharo/issues/detail?id=3537

Hi. I did a little change to SpaceTally to add one more column which represents the instance average size per class

So. before if you evaluated: SpaceTally new printSpaceAnalysis
you get a file something like this:

Class                           code space # instances  inst space percent
Bitmap                                3525         227       3373140    14.4
Array                                 2152       82896       2804472    12.0
ByteSymbol                            1062       40714       1037516     4.4
....

Now, you get something like this:

Class                                          code space # instances  inst space     percent   inst average size
ByteString                                           1984       96048       6598440       24.40               68.70
Bitmap                                               3525         328       5908048       21.80            18012.34
CompiledMethod                                      19125       65347       4061396       15.00               62.15
Array                                                2152       88541       3024132       11.20               34.16
.....


Pharo core version: 12300




Reply | Threaded
Open this post in threaded view
|

Re: Issue 3537 in pharo: Addinf inst average size to SpaceTally

pharo
In reply to this post by pharo
Updates:
        Status: Closed

Comment #1 on issue 3537 by stephane.ducasse: Addinf inst average size to  
SpaceTally
http://code.google.com/p/pharo/issues/detail?id=3537

12301. All the rest should go in 1.3