Profiler - Serenity process profiler
$ Profiler [--pid PID] [perfcore-file]
Profiler facilitates process performance profiling and provides a GUI offering visual graph and tree representations to easily navigate generated profiling information.
If no arguments are provided, a window containing a list of running processes is presented, allowing a process to be selected for profiling.
Profiling information is written to perfcore.<pid>
in the working directory and opened immediately for browsing following termination of profiling.
Profiler can also load performance information from previously created perfcore
files.
-p PID
, --pid PID
: PID to profileperfcore-file
: Path of perfcore file to loadProfile running Shell process:
$ Profiler -p $(pidof Shell)
Open a previously created perfcore file for browsing:
$ Profiler perfcore.123