1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/scripts
Joe Wilm 9c18790178 Optimize Row::reset
Now, only cells that have been used are cleared. This is achieved by
using a "occupied" memo on the Row itself. The value, `occ`, is updated
wherever the Row is accessed mutably, and it's cleared to zero in
Row::reset.

The tests for grid scroll_up and scroll_down were updated to include a
test on the value `occ` and slightly refactored, but are otherwise
equivalent to the previous implementation of those tests.

Because of the change to the `Row` struct, the ref tests were updated so
Deserialization keeps working as expected.
2018-05-19 11:18:37 -07:00
..
apply-tilix-colorscheme.py Add script to apply a tilix colorscheme file. (#524) 2017-05-27 19:58:14 -07:00
create-flamegraph.sh Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00
fg-bg.sh Fix solid background color opacity (#847) 2017-10-21 15:26:42 -07:00
migrate_ref_tests.rb Optimize Row::reset 2018-05-19 11:18:37 -07:00
README.md Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00
spawn-alacritty-cwd Add script for spawning alacritty in CWD 2017-05-01 08:36:09 -07:00
ubuntu-install-perf.sh Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00

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:

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.

scripts/create-flamegraph.sh

NOTE: The create-flamegraph.sh script is intended to be run from the alacritty project root.