Jiawei Duan
Jiawei Duan
Hi, thanks for your interest in this app. Will take a look later, I have not encountered this issue from my end yet.
Thanks for the suggestion, will add an option to configure in the future.
Hi, for me it's the general Set-PSReadlineOption. Even a single Set-PSReadlineOption will introduce over 100 ms delay. If it's not reproducible I assume there is something wrong from my end,...
That's true.  Thanks for the instruction. I am indeed a starter for C# but will give it a try
Thanks for the suggestion. I can take a look, but honestly, I don't think that's the reason. I have disabled Defender.
Let me put some profiling result here. I am using [prefview](https://github.com/microsoft/perfview) to profile, each configuration is executed 10 times for averaging.  Fig. 1 With PSReadLine option: `Set-PSReadLineOption -EditMode Emacs`...
Flame graphs  Fig. 1 With PSReadLine option: Set-PSReadLineOption -EditMode Emacs  Fig. 2 Without PSReadLine option
[PerfViewDataNoOptionLoop.View1.perfView.xml.zip](https://github.com/user-attachments/files/15519613/PerfViewDataNoOptionLoop.View1.perfView.xml.zip) [PerfViewDataWithOptionLoop.View1.perfView.xml.zip](https://github.com/user-attachments/files/15519614/PerfViewDataWithOptionLoop.View1.perfView.xml.zip)
I am not sure if this information is sufficient to help diagnose the issue, but if not, please let me know and I can provide more details. I am much...
Hi @StevenBucher98, it increases with any line with `Set-PSReadlineOption`. However, adding one config line of `Set-PSReadlineOption` takes about same time as adding four or five.