-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
The claims on launch were that the speed of the terminal is superb. Looking at the code it does seem very much like it, that the fastest technologies are used and the coding standards are extremely high. However, when I tried to measure these claims, I was surprised that comparing it with Fluent Terminal (which is built atop web technologies) outperforms Windows Terminal in raw output speed.
Environment
Windows build number: Microsoft Windows [Version 10.0.18362.116]
Windows Terminal version (if applicable): commit id d24d647c
Fluent Terminal: 0.4.1.0
Steps to reproduce
In my favorite Ubuntu WSL instance, I issued
Get-ChildItem /bin/,/boot/,/etc/,/home/,/lib,/lib64/,/opt/,/sbin/,/tmp/,/usr/,/var/ -Recurse -ReadOnly -ErrorAction SilentlyContinue | Out-String | New-Variable -Name Result;
Measure-Command { Write-Host $Result }Expected behavior
I'd have guessed Windows Terminal to be the fastest when compared with Fluent Terminal (my current terminal of choice) and the old-school terminal. Was there a goal for performance? This is totally a non critical issue, I just wanted to let you guys know. (Critical issue is AltGr combinations not working. Until that's not sorted out, I literally cannot type in the terminal.)
Actual behavior
Old-school terminal
Days : 0
Hours : 0
Minutes : 0
Seconds : 9
Milliseconds : 107
Ticks : 91073049
TotalDays : 0.000105408621527778
TotalHours : 0.00252980691666667
TotalMinutes : 0.151788415
TotalSeconds : 9.1073049
TotalMilliseconds : 9107.3049
Fluent Terminal
Days : 0
Hours : 0
Minutes : 0
Seconds : 4
Milliseconds : 243
Ticks : 42433973
TotalDays : 4.91133946759259E-05
TotalHours : 0.00117872147222222
TotalMinutes : 0.0707232883333333
TotalSeconds : 4.2433973
TotalMilliseconds : 4243.3973
Windows Terminal
Days : 0
Hours : 0
Minutes : 0
Seconds : 6
Milliseconds : 130
Ticks : 61304207
TotalDays : 7.0953943287037E-05
TotalHours : 0.00170289463888889
TotalMinutes : 0.102173678333333
TotalSeconds : 6.1304207
TotalMilliseconds : 6130.4207