Add a little note about performance
This commit is contained in:
1 parent
1b989b011d
commit
55175f70b6
1 file changed
+26
@@ -119,3 +119,29 @@ cursor = "springgreen"
|
||||
ansi = ["black", "maroon", "green", "olive", "navy", "purple", "teal", "silver"]
|
||||
brights = ["grey", "red", "lime", "yellow", "blue", "fuchsia", "aqua", "white"]
|
||||
```
|
||||
|
||||
## Performance
|
||||
|
||||
While ultimate speed is not the main goal, performance is important!
|
||||
Using the GPU to render the terminal contents helps keep CPU usage down
|
||||
and the output feeling snappy.
|
||||
|
||||
Here's a very basic benchmark:
|
||||
|
||||
```
|
||||
$ find /usr > /tmp/usr-files.txt
|
||||
$ time /tmp/usr-files.txt
|
||||
```
|
||||
|
||||
And a comparison between some terminal emulators on my system; they were each
|
||||
set to 80x24 with 3500 lines of scrollback. `alacritty` has no scrollback.
|
||||
|
||||
| Terminal | Time (seconds) |
|
||||
|----------|------|
|
||||
| xterm | 9.863 |
|
||||
| Gnome Terminal | 2.391 |
|
||||
| Terminator 1.91 | 2.319 |
|
||||
| wezterm | 1.193 |
|
||||
| kitty | 0.899 |
|
||||
| urxvt | 0.615 |
|
||||
| alacritty | 0.421 |
|
||||
Reference in new issue
Block a user