I just publish new tool ObjectStatistics to analyze objects set.
I first created it to analyze network communication during remote debugging. And then I realize how general it could be.
Now it is ready to use package. It could be good foundation to improve and simplify our profiler tools.
Here is little abstract:
ObjectStatistics tool to analyse set of objects by computing different kind of metrics and look at them from different angles. It implements simplistic OLAP Cube approach for data analysis but in objects space.
Imaging that we have collection of message sends and we want to know number of message sends in dimension of receiver, receiver class and message selector. We have different angles to look at this data: from receiver class to selector and receiver or from selector to receiver class and receiver or any other combination.
We also could analyze different kind of metrics which could be computed on given objects. It could be number of unique receivers, execution time, executed lines of code, etc.
This package implements computation of object statistics over declared metrics and dimensions space.
And you can load it by
Gofer it smalltalkhubUser: ‘Pharo’ project: ‘ObjectStatistics’; configuration; loadStable
And play with examples on ObjectStatistics class side