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.

Completions extremely slow

See original GitHub issue

Description

What steps will reproduce the problem?

The completions are extremely slow. To reproduce: 0 - Disable / don’t install Kite 1 - Open a new file 2 - type:

import numpy as np
np.<tab>

3 - Wait 15 seconds 4 - The completion appears

Versions

  • Spyder version: 4.3.0.dev0
  • Python version: 3.8.6
  • Qt version: 5.12.10
  • PyQt5 version: 5.12.3
  • Operating System: Darwin 20.3.0

Dependencies


# Mandatory:
applaunchservices >=0.1.7       :  0.2.1 (OK)
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  3.0.4 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=7.6.0                 :  7.18.1 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  21.4.0 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.7.2 (OK)
pygments >=2.0                  :  2.7.1 (OK)
pylint >=1.0                    :  2.6.0 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.0             :  0.3.0 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.1 (OK)
qtconsole >=5.0.1               :  5.1.0.dev0 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
setuptools >=39.0.0             :  50.3.0 (OK)
sphinx >=0.6.6                  :  3.2.1 (OK)
spyder_kernels >=1.10.0;<1.11.0 :  1.11.0.dev0 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3               :  0.10.3 (OK)
zmq >=17                        :  19.0.2 (OK)

# Optional:
cython >=0.21                   :  0.29.21 (OK)
matplotlib >=2.0.0              :  3.3.2 (OK)
numpy >=1.7                     :  1.19.2 (OK)
pandas >=1.1.1                  :  1.1.3 (OK)
scipy >=0.17.0                  :  1.5.2 (OK)
sympy >=0.7.3                   :  1.6.2 (OK)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
RSKotharicommented, Apr 12, 2021

@ccordoba12 I am currently using Spyder 5 and the simplest of typing operations such as copy, paste and code completion takes a very long time. Is a fix imminent?

1reaction
ccordoba12commented, Jul 22, 2021

By disabling code snippets in

Tools > Preferences > Completion and linting > General

completions will be almost instantaneous after the first time they are triggered for packages like Numpy, Pandas and Matplotlib.

This will be available in our 5.1.0 version, to be released at the end of the month.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow evaluation in M13.1 when using auto-completion on ...
I see an extreme slowdown when evaluating cells in Mathematica 13.1.0 if auto-completion of package symbols was previously triggered. I am using ...
Read more >
OsmSharp filtering and completion is slow - OSM Help
So I looked into the xml file for these specific keys and values and I think I'm only extracting the necessary objects for...
Read more >
Code completion is very slow since 2021.1 upgrade - YouTrack
If I disable clangd completion, the completion speed is much faster. Althrough the completion accuracy is worse than clangd.
Read more >
Code completion still very slow in IDEA - Kotlin Discussions
We just started a project using Kotlin and after copuple of days of coding I must say code completion slownes is becoming very...
Read more >
Intellisense too slow - bad auto completion results
Intellisense too slow - bad auto completion results ... Typing slower I see that IS shows the drop list and scrolls to G4x4...
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