1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00
serenity/Base/usr/share/man/man1/Profiler.md
kleines Filmröllchen becf74097e Help: Directly launch an app from its help page
Through links in the help page, the user can directly launch the app
whose help page is currently viewed. The idea for this feature came up
in the discussion of #11557
(https://github.com/SerenityOS/serenity/pull/11557#issuecomment-1004830728
). The intention is that the user can simply open the app they are
currently trying to understand, and play around with it, learn by doing,
or follow along with any guide that may be present in the help page. It
feels very great :^)
2022-01-11 00:24:57 +01:00

1 KiB

Name

Profiler - Serenity process profiler

Open

Synopsis

$ Profiler [--pid PID] [perfcore-file]

Description

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.

Options

  • -p PID, --pid PID: PID to profile

Arguments

  • perfcore-file: Path of perfcore file to load

Examples

Profile running Shell process:

$ Profiler -p $(pidof Shell)

Open a previously created perfcore file for browsing:

$ Profiler perfcore.123

See also