swdc-visualstudio
swdc-visualstudio copied to clipboard
Code Time Freeze and VS not responding (v2.2.3)
Hello,
after some second when I start VS 2019, it will be not responding.
If you need the log for check, explain me how to collect them.
Thank you for the information. We're looking into this now and will update as soon as we can. Regards.
@TheMenerv We've published 2.2.5 with cleanup around metrics handling and code cleanup to help reduce cpu and memory load. Based on the diagnostic tool running against the latest installed plugin, memory normalizes at 338MB and CPU% averages are less than 20%. There are spikes of CPU during metric handling, and we will continue to work towards reducing that load. Would you be able to try the latest version and provide CPU feedback if you see any more issues? Thank you very much for your patience.
Sorry for the bad news, so it's same issue. The CPU load to 50~60% and 0% after freeze!
Ok, we'll continue investigating what may be causing this today. Thank you for the update.
Hi @TheMenerv - @xavluiz made some further performance improvements in v2.3.0
. Can you give this version a try?
If you do see a lag, then it would be really helpful if you are also able to try running a sampling report and then send us the cpu profile. We will send you a Software t-shirt to thank you for your time.
Here are the steps:
- Clone this repository
- Open the Code Time project solution (.sln) in Visual Studio
- Go to Analyze > Performance Profiler
- Click Start the project
- Open a project solution (could be any project) in the debug window and simulate use
- Stop the profiler
- A report will be generated
- View the summary report
- Check for overall system spikes in the system chart
- View the Functions report and click the “fire” icon to find the function in the call stack doing the most work
Here is more information: https://docs.microsoft.com/en-us/visualstudio/profiling/beginners-guide-to-performance-profiling?view=vs-2019
Hi, after launching, I have a freeze and crash and it stopping automatically the report : Report20200831-0841.zip
Thank you for the response. We'll look at this report today.
Regards.
On Sun, Aug 30, 2020 at 11:45 PM Menerv [email protected] wrote:
Hi, after launching, I have a freeze and crash and it stopping automatically the report : Report20200831-0841.zip https://github.com/swdotcom/swdc-visualstudio/files/5148723/Report20200831-0841.zip
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/swdotcom/swdc-visualstudio/issues/29#issuecomment-683594127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AINL3JMNDCJI7QGKN63NUT3SDNBIRANCNFSM4QNYQ27Q .
Hi,
We're now up to 2.3.2. The latest changes include:
- document listen events will not be hindered and we'll use a 1 minute trigger to capture keystroke and timing metrics instead of an active check.
- the global session summary averages will only be fetched per day, along with not refreshing your current keystroke information
- cleanup in checking if onboarding is required
I'm unable to view the current vsp that was attached to the previous email. Is there a specific VisualStudio version that we should use to view the profile report?
Thank you, Xavier
On Sun, Aug 30, 2020 at 11:45 PM Menerv [email protected] wrote:
Hi, after launching, I have a freeze and crash and it stopping automatically the report : Report20200831-0841.zip https://github.com/swdotcom/swdc-visualstudio/files/5148723/Report20200831-0841.zip
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/swdotcom/swdc-visualstudio/issues/29#issuecomment-683594127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AINL3JMNDCJI7QGKN63NUT3SDNBIRANCNFSM4QNYQ27Q .
We've also noticed that the newer version may have issues with the data format within the .software directory. Would you mind deleting your .software folder before re-enabling the extension?
It's in your user directory as ".software".
Thank you.
On Mon, Aug 31, 2020 at 2:08 PM Xavier Luiz [email protected] wrote:
Hi,
We're now up to 2.3.2. The latest changes include:
- document listen events will not be hindered and we'll use a 1 minute trigger to capture keystroke and timing metrics instead of an active check.
- the global session summary averages will only be fetched per day, along with not refreshing your current keystroke information
- cleanup in checking if onboarding is required
I'm unable to view the current vsp that was attached to the previous email. Is there a specific VisualStudio version that we should use to view the profile report?
Thank you, Xavier
On Sun, Aug 30, 2020 at 11:45 PM Menerv [email protected] wrote:
Hi, after launching, I have a freeze and crash and it stopping automatically the report : Report20200831-0841.zip https://github.com/swdotcom/swdc-visualstudio/files/5148723/Report20200831-0841.zip
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/swdotcom/swdc-visualstudio/issues/29#issuecomment-683594127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AINL3JMNDCJI7QGKN63NUT3SDNBIRANCNFSM4QNYQ27Q .
Hi,
sorry for the bad news:
I've delete the folder .software before installing version 2.3.2
If you want, I can share my screen on discord (so I speak english not very well).
No problem, and we'll get to the bottom of this. We appreciate your patience with this. I will get back to you later today and thank you again.
@TheMenerv We've published 2.3.5 with the following updates:
- caching images that are loaded into the tree view panel to prevent rebuilding the image source
- delay initializing document listeners
- thread count reduction
Would you be able to record a loom video of the installation of this version when its convenient for you? Showing the CPU from the diagnostic tools when installing and loading your solution should suffice. Thank you.
Hi, same issue. https://youtu.be/5Kco4K_4Cxk
Edit: I made new video with CPU load.
https://www.youtube.com/watch?v=jPuT7sdzfiY
Hi @TheMenerv one more favor to ask. Could you try these two builds?
https://github.com/swdotcom/swdc-visualstudio/tree/main/builds
t0 doesn't initialize snowplow (a new pipeline we're setting up), t1 does. A freeze in t1 would help us narrow down the issue.
Also, we really appreciate your time. Shoot us an email at [email protected] and we'll send you a t-shirt.
Hi,
The results of tests was here: https://youtu.be/2rOu4RoMaXE
@TheMenerv thank you. Can you check in the Windows Event Viewer (Start -> Event viewer -> Windows Logs -> Application) and see if there are error logs for devenv.exe with timestamp that matches the crash? If you find anything, send it our way.
Hi,
Hi, We've published another version, v2.3.8, and we're still unable to reproduce the issue but wonder if it has something to do with a latent API request.
v2.8.8 updates:
- initialization API requests will not delay plugin initialization
We'd also like to provide a $50 gift certificate to help identify the area that is currently causing the IDE to hang, when it's convenient for you. Thank you.
Hi, I'm sorry so I've the crash with v2.3.8
Do you need more tests?
Thank you for your help in this and we apologize for not resolving it yet. We are looking into it more today with another resource and will provide a reply as soon as we can. Regards.
Hi,
I receive your TShirt! Thank you very much :)
Tell me if you need more help! (I need Code Time) 😘
Hi, It looks like we've identified 2 areas that cause the issue. We've updated logic logic to read the process command output which can freeze when using "ReadToEnd". We've also updated logic to ensure we're not performing any of these command tasks unnecessarily, along with other minor improvements. The latest version is v2.3.9.
Thank you again for all of your help and let us know if this has fixed the issue for you or if there's anything else.
Regards :)
Hi, We will have one more update coming that we just found. This should be ready by the end of the day. Regards.
v2.4.0 is now available with updates to handle reading the process standard output results.
Hi, good new, it seems ok!!!
That is great news, thank you for the feedback and help. We will continue to monitor and optimize it going forward.
Kind regards.
The latest update will work for this request and we apologize for the long delay. We've just published v2.6.7 with support for...
community 17,18 amd64 community 14,17 x86 pro 17,18 amd64 The latest version now has "Flow Mode" automations support. The documentation opens our website with more information about this. This version has been updated in all areas (performance, massive cleanup, and websocket support to provide responsive metric updates).
The new logic is no longer in this repo. We will now look for issues in the following: https://github.com/swdotcom/visualstudio-codetime/issues
Please let us know what you think. Thank you.