summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/Profiler.md
blob: 8cdfb1e4d1e8635d3b1705fb4f0b96ab9db6f467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## Name

Profiler - Serenity process profiler

## Synopsis

```**sh
$ 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

## Examples

Profile running Shell process:

```sh
$ Profiler -p $(pidof Shell)
```

Open a previously created perfcore file for browsing:

```sh
$ Profiler perfcore.123
```

## See also

* [`perfcore`(5)](../man5/perfcore.md)