Looks interesting. Does this work in Pharo 3? If so, where can I find the correct configuration of Spy? ITs not in the configuration browser in my image. Thanks Paul abergel wrote
Dear Friends and Colleagues,
We are happy to announce Memory Profiler, a new profiler for Pharo. This profiler gives a nice output that indicates the memory consumption along the method call graph. Consider the following piece of code: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= (MSP profile: [ Object browse ] onPackagesMatching: 'Nautilus*' ) inspect -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Consider that MSP uses instrumentation, therefore long execution may take really long. The code above takes about 19 seconds on my iMac. It opens a visualization that indicates some interesting fact about memory consumption. For example, the expression âObject browseâ consumes 14 851 kb with instances of the class Point. More than 1M of points are created.
Here is the blueprint obtained: https://dl.dropboxusercontent.com/u/31543901/TMP/memoryBlueprintExample.html
A description of the visualization is available here: https://dl.dropboxusercontent.com/u/31543901/MyPapers/Infa15a-MemoryProfilin...
You need to load Spy from the Configuration Browser. Else the following incantation should work: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Gofer it smalltalkhubUser: 'ObjectProfile' project: 'S2py'; configurationOf: 'Spy'; loadDevelopment. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers, Alejandro & Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Screen Shot 2015-01-12 at 2.20.44 PM.png (106K) <http://forum.world.st/attachment/4799077/0/Screen%20Shot%202015-01-12%20at%2...;
-- View this message in context: http://forum.world.st/ANN-Visual-Memory-profiler-tp4799077p4799552.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.