You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the Visual Studio CMD shell renders faster (significantly) than a published exe/dll on a standard CMD shell in Windows 10. If you create a shortcut link with the folder information it seems the console speeds up on the standard CMD.
The text was updated successfully, but these errors were encountered:
I can't test the Windows Command Prompt, and Visual Studio at the moment.
To make sure that it's not ANSITerm's fault, we need to check the environment variables these terminal emulators provide. We could compare ANSITerm's Console to standard Console only if the ENV variables signal ANSI escape code support, otherwise ANSITerm provides merely a facade to the standard .NET Console class, therefore does not affect performance or creates overhead in any possible way.
Note that if ANSI escape codes are indeed supported by the emulator, then there would be minor overhead for the cost of printing ANSI color & style escape codes. These are actual groups of invisible escaped characters that are printed to the standard output of the console application according to the ECMA-48 specification.
If you change styles/colors too frequently (as in every few characters) then it might affect printing performance, especially if there's a limited support for color, because ANSITerm needs to adjust your desired colors to the closest available color that the terminal in question could support (excluding colors it already converted since the application started running, there's a dictionary cache for previously adjusted colors for future use).
Can you elaborate with more information about the environment variables of the
Windows Command Prompt (cmd.exe), or
The new Windows Terminal (in case there's an overhead there, too).
Visual Studio's built-in Terminal.
You can also run the Tamar.ANSITerm.Test console application with the said terminals, and send the command support to check if ANSITerm's Console is actually in effect or not.
I've noticed that the Visual Studio CMD shell renders faster (significantly) than a published exe/dll on a standard CMD shell in Windows 10. If you create a shortcut link with the folder information it seems the console speeds up on the standard CMD.
The text was updated successfully, but these errors were encountered: