Open tinchodias opened 3 weeks ago
For the case of AndreasSystemProfiler
API, it is opened this way:
doReport
"Report the results of this profiler run"
UIManager default edit: self report label: 'Spy Results'
maybe monospaced font can be set here.
However, it would be great that doReport
opens a variant of the 'Time profiler' GUI.
In other words, I see as an alternative to my original comment that after evaluation of AndreasSystemProfiler spyFor: 1
, the user could inspect the results in something like the Time profiler but without the button bar and code editor panel on top:
The
AndreasSystemProfiler
class offers very convenient API in class-side to profile. The profiler results tree is printed with ASCII lines between sibling nodes, to help reading it. IMHO this is good, but monospaced font would help even more. As it happens with "ASCII art" in general.This also happens in the "Full Report" tab of the Time Profiler GUI (and this is Pharo 13 but also in previous versions):
Steps to reproduce A
AndreasSystemProfiler spyFor: 1
Steps to reproduce B
Screen captures
Case A
Current... non-monospaced:
My idea... make it monospaced:
Case B
The "Full Report" tab of the Time Profiler GUI would benefit from monospaced font too: