← Back to context

Comment by drewtato

3 years ago

The test is valid for any combo of shell and terminal, it's just a matter of figuring out which methodology was used so it can be better understood.

But yeah, I agree with the other comment that powershell is likely adding less than 1ms.

I just measured 3ms from a simulated keyboard event (through COM) to presence of the character in the console buffer, so that's OS time + PowerShell time without keyboard or screen time. Unfortunately measuring the same through CMD or a custom console app is more work than I care to put in tonight, so who knows what the real delta would be.