Kai - Code Profiler

Kai: to recite, repeat aloud from memory

Code example:

Note that code profiling require sensitive code instrumentation mechanism. Although we are putting a great deal of effort on the stability and reliability of this tool, it could however lead to a freeze and/or crash or your image.

Execution profiling:

KaiProfilingPackageSpy 
viewProfiling: [
| view |
view := MOViewRenderer new.
view nodes: (1 to: 100) forEach: [:each | view nodes: (1 to: 100)].
view root applyLayout
]

More example related to execution profiling may be found in the class ProfilingPackageSpy The following screenshots are then produced:

Documentation

Our TOOLS EUROPE’10 paper describes the intention and the visualizations. It is available online.