Visual tools to help reading Pharo profiler tally output (MessageTally and AndreasSystemProfiler).
This project provides:
- A flame graph visual inspector (a kind of non-radial Sunburst).
- A model to colorize and aggregate the tally output (See
SaMethodNode,SaBehaviorNodeandSaCategoryNode). - Spec2 inspectors provide means to explore the model.
| Tally Tree | Behaviors (Classes, Metaclasses, Traits |
|---|---|
| Flame Graph (macro view) | Flame Graph (zoomed view) | Color Mapping by category |
|---|---|---|
Evaluate the following script in a Pharo image (>=v13):
Metacello new
baseline: 'Sauco';
repository: 'github://tinchodias/Sauco:master/src';
load.🚨 Note 1: The baseline of this project was initially called BaselineOfSaucoPerfMeter, then simplified to BaselineOfSauco, but we keep backwards compatibility.
🚨 Note 2: This repository was renamed from pharo-sauco-profiler to Sauco.
You can find several examples oof use in class-side of SaReport, such as:
SaReport exampleUUIDBut you can just place code to profile in a block closure and inspect the SaReport like:
SaReport newWithASPOn: [
| array |
array := FLSerializer serializeToByteArray: Smalltalk ui icons.
FLMaterializer materializeFromByteArray: array ]It has no relation with software profilers. Sauco is the name of a tree that can look like in this picture:
The code is licensed under MIT.