1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-10-30 23:36:53 -04:00

Add script for creating flamegraph with perf

Resolves #8
This commit is contained in:
Joe Wilm 2016-10-08 21:30:21 -07:00
parent b91c90dc34
commit b80abe9a54
4 changed files with 51 additions and 0 deletions

20
scripts/README.md Normal file
View file

@ -0,0 +1,20 @@
scripts
=======
There are two scripts included at the time this README was written, and they
both support flamegraph generation on Ubuntu. The first script installs the
required dependencies:
```sh
scripts/ubuntu-install-perf.sh
```
The second script will run Alacritty while recording call stacks. After the
Alacritty process exits, a flamegraph will be generated and its URI printed.
```sh
scripts/create-flamegraph.sh
```
**NOTE**: The _create-flamegraph.sh_ script is intended to be run from the
alacritty project root.