Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sauco

Test

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, SaBehaviorNode and SaCategoryNode).
  • Spec2 inspectors provide means to explore the model.

Screenshots

Tally Tree Behaviors (Classes, Metaclasses, Traits
TallyTree Classes
Flame Graph (macro view) Flame Graph (zoomed view) Color Mapping by category
SkiaMacro CairoDetail Legend

Install

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.

How to Use

You can find several examples oof use in class-side of SaReport, such as:

SaReport exampleUUID

But 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 ]

What does sauco mean?

It has no relation with software profilers. Sauco is the name of a tree that can look like in this picture:

Fruits

License

The code is licensed under MIT.

About

Visual tools to help reading Pharo profiler

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages