kiteco / issue-tracker

User-reported issues for Kite
https://Kite.com
1.75k stars 136 forks source link

Latency in Atom #670

Open Chris-Field opened 5 years ago

Chris-Field commented 5 years ago

Kite regularly causes latency in Atom for me.

Steps to reproduce:

  1. Open Atom, and verify that Kite is enabled.
  2. Leave Atom open for hours/days.
  3. Complete any action in Atom and experience a lag.

The workaround is to disable Kite.

These delays are pretty intense and make it difficult to focus on coding. Rebooting my PC usually doesn't help. The issue just goes away eventually. Everything else on my machine is fine during these issues. This has been recurring for at least a month.

Here's a preview. I first hold down the D key, and it struggles to keep up. Then I click and hold while circling my mouse, as if to highlight different parts of the text. As you can see, there's a severe lag, especially when highlighting. SNAG-Video-000-7-24-2019-7 33 51-PM

Atom: 1.39.0 Kite: 0.165.0 OS: Windows 10 Home RAM: 16 GB CPU: i7-4790k GPU: GTX 970

itsdhung commented 5 years ago

Next time this happens, can you take a CPU profile of Atom and share? You can do this by opening Atom's developer tools, clicking on the "Performance" tab and then record. While recording, try editing and selecting text in the file like you did above.

You can also send us your Kite log located at %USERPROFILE%\AppData\Local\Kite\logs\client.log. You can email the log to feedback@kite.com

Chris-Field commented 5 years ago

It's been ongoing for the last few days, so here's the results (let me know if there's a better way for you to view this):

image

metalogical commented 5 years ago

Hi @drummerof13 - if you right click over the profile, you can save it to a file and send that to us (feedback@kite.com). Thanks for the help debugging this!

Chris-Field commented 5 years ago

This is not closed. I emailed the address specified twice and haven’t received a response.

metalogical commented 5 years ago

apologies for this. it fell through our radar.

We are looking at the profile you sent.

Chris-Field commented 5 years ago

Thank you!

On Wed, Oct 9, 2019 at 10:05 AM Naman notifications@github.com wrote:

Reopened kiteco/atom-plugin#621 https://github.com/kiteco/atom-plugin/issues/621.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kiteco/atom-plugin/issues/621?email_source=notifications&email_token=ABMSEL7DVPUGXCQ36A54R33QNXXLNA5CNFSM4IGV4GY2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUDSX33Q#event-2699394542, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMSELY3CWQW6XDMXD3ERLLQNXXLNANCNFSM4IGV4GYQ .

--

Chris Field

nhardy01 commented 4 years ago

Any updates on this? I am having the same issue on Ubuntu 18.04

metalogical commented 4 years ago

@nhardy01 we've had some trouble isolating the issue.

Mind taking and sending us a Atom CPU profile, as described above? Thanks.

edzkite commented 4 years ago

Could you also give us the output of cat ~/.atom/config.cson (Or wherever your Atom config is stored)?

nhardy01 commented 4 years ago

@metalogical sorry for the delay, I've actually started primarily using VSCode and haven't experienced this problem there (though there are other issues with the VSCode Kite plugin that I have created separate issues for.

I'll try to see if I can replicate it today. Fixing this bug would make using Atom + Kite much more appealing to me.