2018-12-08 15:28:57 -05:00
|
|
|
Scripts
|
2016-10-09 00:30:21 -04:00
|
|
|
=======
|
|
|
|
|
2018-12-08 15:28:57 -05:00
|
|
|
## Flamegraph
|
|
|
|
|
|
|
|
Run the release version of Alacritty while recording call stacks. After the
|
|
|
|
Alacritty process exits, a flamegraph will be generated and it's URI printed
|
|
|
|
as the only output to STDOUT.
|
2016-10-09 00:30:21 -04:00
|
|
|
|
|
|
|
```sh
|
2018-12-08 15:28:57 -05:00
|
|
|
./create-flamegraph.sh
|
2016-10-09 00:30:21 -04:00
|
|
|
```
|
|
|
|
|
2018-12-08 15:28:57 -05:00
|
|
|
Running this script depends on an installation of `perf`.
|
|
|
|
|
|
|
|
## ANSI Color Tests
|
|
|
|
|
|
|
|
We include a few scripts for testing the color of text inside a terminal. The
|
|
|
|
first shows various foreground and background varients. The second enumerates
|
|
|
|
all the colors of a standard terminal. The third enumerates the 24-bit colors.
|
2016-10-09 00:30:21 -04:00
|
|
|
|
|
|
|
```sh
|
2018-12-08 15:28:57 -05:00
|
|
|
./fg-bg.sh
|
|
|
|
./colors.sh
|
|
|
|
./24-bit-colors.sh
|
2016-10-09 00:30:21 -04:00
|
|
|
```
|