mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-22 14:01:57 +03:00
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.
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.