csharpisanote
New member
- Joined
- Oct 31, 2020
- Messages
- 1
- Programming Experience
- 10+
Hi, this is my first post here.
I'm newbie in C sharp. My programming background was approx 10 years Dos/Foxpro + 3 years Java + 15 years break not coding at all. I just started with C sharp about a week ago.
I'm learning C sharp while experimenting with a github project "PS4 Macro" [SNIPPED]. This project intercepts the PS4 controller connected to the PC + PS Remote Play software. PS4 Macro works fine by itself :- I can record the PS4 controller movements and play the macros back without any issue.
With that background, I'm trying to extend the PS4 Macro to automated some PS4 gaming tasks - instead of using the original PS4 Macro apps to manually load macros and to execute them one by one.
My test program includes a few "while (bool)" loops to wait for the macro to finish executing before continuing - it's my bad design, but was done to quickly test some ideas.
While in Visual Studio, I can code, test, Debug-Terminate All (to stop the "while" lock-ups,) all day and the performance was good.
However, when I deployed my executable to a 2nd PC, without Visual Studio, I would need to end-task the program from time to time to further test it. However, the I/O performance (disk access, reading/outputing to the PS4 controller) becomes slower over times. The performance remained bad even after a PC reboot. _But_ if I rename the program folder, performance becomes tip top again - and slowly degrades with more end-tasks that I did - and I would have to rename the test program folder again.
Any clue as to why the performance slow down won't go away even after a reboot ? Was it due to bad cache got larger and larger ?
Thanks for reading my rather long first post!
I'm newbie in C sharp. My programming background was approx 10 years Dos/Foxpro + 3 years Java + 15 years break not coding at all. I just started with C sharp about a week ago.
I'm learning C sharp while experimenting with a github project "PS4 Macro" [SNIPPED]. This project intercepts the PS4 controller connected to the PC + PS Remote Play software. PS4 Macro works fine by itself :- I can record the PS4 controller movements and play the macros back without any issue.
With that background, I'm trying to extend the PS4 Macro to automated some PS4 gaming tasks - instead of using the original PS4 Macro apps to manually load macros and to execute them one by one.
My test program includes a few "while (bool)" loops to wait for the macro to finish executing before continuing - it's my bad design, but was done to quickly test some ideas.
While in Visual Studio, I can code, test, Debug-Terminate All (to stop the "while" lock-ups,) all day and the performance was good.
However, when I deployed my executable to a 2nd PC, without Visual Studio, I would need to end-task the program from time to time to further test it. However, the I/O performance (disk access, reading/outputing to the PS4 controller) becomes slower over times. The performance remained bad even after a PC reboot. _But_ if I rename the program folder, performance becomes tip top again - and slowly degrades with more end-tasks that I did - and I would have to rename the test program folder again.
Any clue as to why the performance slow down won't go away even after a reboot ? Was it due to bad cache got larger and larger ?
Thanks for reading my rather long first post!
Last edited by a moderator: