aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-07-08 20:35:58 +0000
committerGitHub <noreply@github.com>2021-07-08 20:35:58 +0000
commit8cb1acc27d863942401df80c3acb8b4016ad6083 (patch)
tree5772b74e40235ef4e9367d33014646a36666e320 /CHANGELOG.md
parent4a3bcdb49d2027d4cbf6a2f147b07da38a4b0238 (diff)
downloadalacritty-8cb1acc27d863942401df80c3acb8b4016ad6083.tar.gz
alacritty-8cb1acc27d863942401df80c3acb8b4016ad6083.zip
Fix PTY performance regressions
The patch 9e7655e introduced some changes which improved rendering with very dense grids, but the automatic benchmarks indicated a slight performance difference in the `dense_cells` benchmark. Caching the terminal lock between iterations rather than always calling `try_lock` resolves that issue. While breaking early in the `WouldBlock` case with `unprocessed != 0` does also help resolve these issues, it shows some more significant fluctuations. Combining both fixes does not help. Additionally on Windows receiving `Ok(0)` from the PTY will also occur instead of a `WouldBlock` error, so handling that fixes freezing on Windows. Fixes #5305.
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions