swdc-visualstudio icon indicating copy to clipboard operation
swdc-visualstudio copied to clipboard

Code Time slow down VS

Open Enderlook opened this issue 4 years ago • 3 comments

Code time increases a lot loading time of Visual Studio (from 10 to 400 seconds...), but most importantly it slows down VS even after loading (around once per minute it hangs during a few seconds). I've been reading logs and it says a lot of time stuff like (some parts I translate from Spanish to English):

[CodeTime HandledException 11:31:25 PM] Code Time: Unable to execute command, error: The name of the directory is not valid: 
[CodeTime HandledException 06:22:46 PM] StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Transfer-Encoding: chunked
  Connection: keep-alive
  access-control-allow-origin: *
  access-control-allow-methods: GET, POST, OPTIONS, PUT, PATCH, DELETE
  access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, access_token, X-Requested-With, Access-Control-Request-Method, Access-Control-Request-Headers
  Date: Sat, 30 May 2020 21:22:46 GMT
  X-Powered-By: Express
}: 
[CodeTime HandledException 06:22:47 PM] Unable to complete commit request, status: Unauthorized: 

Enderlook avatar May 30 '20 21:05 Enderlook

It looks like this is a duplicate of #21

raydixon avatar Aug 12 '20 20:08 raydixon

@raydixon @Enderlook , We apologize for the late reply but we've updated the extension to now work with visual studio 2019 and fixed performance issues. Thank you for the issue report and feel free to provide feedback. Thank you.

xavluiz avatar Aug 27 '20 01:08 xavluiz

Sorry for the delay, I have not been using VS for a while until now. I notice that the performance issue has gone as you said, thank you.

Enderlook avatar Sep 03 '20 18:09 Enderlook