question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High CPU from Kite, Spyder lags when typing

See original GitHub issue

Problem 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?

  1. While in debug mode
  2. Types requests.post() really quickly
  3. 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
CAM-Gerlachcommented, Oct 16, 2019

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.

1reaction
ccordoba12commented, Sep 21, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found