9/17/2023 0 Comments Alacritty config![]() ![]() Screen random writes despite a marginal performance drop due to scrollback. This is also a potential performance pitfall since it changes howĭata is moved around in the screen / scrollback buffer.Ġ 10 20 30 40 50 60 70 80 90 100 Data Rate (MB/sec) Termite St Kitty urxvt Alacritty (v0.2) Alacritty (v0.1) Random alt-screen writes (Linux)Īlacritty is 62% faster than the next terminal emulator on Linux for alt Scrolling region to keep its status bar fixed while scrolling through a file.Īs you can see, scrolling regions are common, and it’s important to keep them Keep its status bar fixed while terminal output flows. This benchmark is evaluating scrolling performance within a “scrolling region”.Įven if you haven’t heard this term before, you’ve almost certainly experiencedĪ scrolling region when working in a terminal. vtebench -w $(tput cols ) -h $(tput lines ) -b 10000000 \ The vtebench invocation for generating the test file is as follows. Performance of adding new lines of output and managing the scrollback buffer.Ġ 1 2 3 4 5 6 7 8 Data Rate (MB/sec) Kitty St termite Alacritty (v0.1) urxvt Alacritty (v0.2) Scrolling (Linux)Īlacritty is about 2.5% faster than the next terminal emulator on Linux for scrolling,Īnd performance has improved by 31% since the last release. The scrolling benchmark is essentially the yes command which outputs a Note that through all of the benchmarks, Alacritty is able to maintain a buttery The exact vtebench commands used to generate test filesįollow charts at the end of each section. The reported numbers are the result of averaging 10 runs following the Three runs were made to warm caches, fill buffers,Įtc. In all cases, the vtebench output was piped into a file, and then “executed”īy running time cat. Linux - i7-6700k/R9 390 running X11/i3+compton with Mesa version 18.1.6 and.macOS - An early 2015 MacBook Pro with 3.1 GHz Intel Core i7 and Intel Iris.The hardware used for generating the data in these benchmarks was Presented twice, once for a macOS environment and once for a Linux environmentĪnd comparing against common terminals of the respective platform. In the following sections are data for each of these three benchmarks with someĬommentary around what exactly the benchmark is exercising. Text file, scrolling through a large text file as if in vim or tmux, andĪlso processing large amounts of screen updates as in vim or tmux. Using vtebench, we are able to test use cases like scrolling through a large Tool called vtebench which is a tool for benchmarking terminal emulators. To guide our development efforts, we wrote a Key_bindings section of your configuration, - BenchmarksĪ big concern from the community around introducing scrollback into Alacritty ClearHistory - Clear scrolling history outside of the current screenįor convenience, you can just paste in the following bindings to the.ScrollToBottom - Scroll back to the origin, typically a shell prompt.ScrollToTop - Scrolls to the oldest line in history.ScrollPageDown - Scroll down 1 viewport worth of lines.ScrollPageUp - Scroll up 1 viewport worth of lines. ![]() Next, there are a number of new keybinding actions available. faux_multiplier : 3 # Automatically scroll to the bottom when new text is written # to the terminal. # To disable this completely, set `faux_multiplier` to 0. This is used to allow mouse # scrolling for applications like `man`. multiplier : 3 # Faux Scrolling # The `faux_multiplier` setting controls the number # of lines the terminal should scroll when the alternate # screen buffer is active. history : 10000 # Number of lines the viewport will move for every line # scrolled when scrollback is enabled (history > 0). scrolling : # How many lines of scrollback to keep, # '0' will disable scrolling. Return to the most recent lines when new data is output. Many lines to scroll per mouse wheel interval, and whether to automatically Scrolling section which includes things like how much history to store, how There’s two changes you’ll need to make to your configuration. Please follow the instructions in the README and make sure to The officially supported way to get Alacritty is, for now, building from source. ![]() To get started with scrollback, you’ll need Alacritty v0.2.0 and some additional Giving thanks to a few people who had an outsized impact onĭelivering a quality version of scrollback.Check out benchmarks of scrolling and alt-screen performance.This post provides instructions for getting v0.2.0 of Alacritty, addingĬonfiguration needed for scrollback, benchmarks for the scrolling feature, and aīrief discussion of versioning Alacritty. Version our releases and maintain a changelog. Emulator written in Rust, has landed support for scrollback in version 0.2.0!Īt the same time, scrolling performance has improved, and we are beginning to ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |