High CPU from Kite, Spyder lags when typing
See original GitHub issueProblem Description
User quickly types requests.post()
on keyboard, but on screen chars show up one by one (see many calls in terminal, kite engine is >100%).
What steps reproduce the problem?
- While in debug mode
- Types requests.post() really quickly
- See video: https://www.dropbox.com/s/ux28c7o5r6oieis/kite_lag_spyder_requests_.mov?dl=0
What is the expected output? What do you see instead?
Keystrokes should match typing speed.
Paste Traceback/Error Below (if applicable)
Versions
- Spyder version: latest Spyder beta
- Python version:
- Qt version:
- PyQt version:
- Operating System name/version:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Spyder Typing Delay - Singapore Maths Tuition
Recently, the Spyder IDE faced serious typing delay or lag. ... The issue can also be described as a typing lag in Spyder....
Read more >High cpu usage by Spyder even when idle - Stack Overflow
I'm having an issue with high CPU usage and high latency when typing and saw your comment elsewhere about running spyder --debug-info ...
Read more >A Spyder IDE autocompletion plugin (Kite) freezes whole ...
Today, I found out that my system freezes every 60 seconds - sound lags, mouse and keyboard input freezes for a moment as...
Read more >Announcing the Kite Integration for Spyder
We're thrilled to announce Kite's Python integration for Spyder, the popular open-source IDE for scientists, engineers, and data analysts.
Read more >Announcing the Kite Integration for Spyder - Morioh
Line-of-Code Completions are multi-token completions for the top 100 Python libraries that are unique to Kite's machine learning engine. Alt Text. Intelligent ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This may not have anything to do with Kite; I noticed this lag too in beta 5 (the
latest Spyder beta
at the time this was posted that @plungg appears to ambiguously be referring to), and I have never had Kite installed nor do I have any interest in ever doing so. It seemed to be a result of regular on-the-fly completion; with the changes that were implemented as a result of #10134 to add an idle and character delay as well as not try to complete in inappropriate places, the lag has all but vanished for me in dev builds and beta 6 and the UX is way better.Ok, I think @andfoy added some lockers to avoid interference with the LSP, but this could be solved after making Kite to take over the LSP instead.