The CPython standard distribution comes with three profilers: cProfile, Profile and hotshot. The cProfile module is implemented as a C module based on lsprof, Profile is in pure Python, and the hotshot can be seen as a small subset of a cProfile. Unlike any of these profilers, however, yappi fully supports profiling multi-threaded programs.
The CPython standard distribution comes with three profilers: cProfile, Profile and hotshot. The cProfile module is implemented as a C module based on lsprof, Profile is in pure Python, and the hotshot can be seen as a small subset of a cProfile. Unlike any of these profilers, however, yappi fully supports profiling multi-threaded programs.
To install py37-yappi, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py37-yappi
To see what files were installed by py37-yappi, run:
port contents py37-yappi
To later upgrade py37-yappi, run:
sudo port selfupdate && sudo port upgrade py37-yappi
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.