-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerToys makes jupyter notebook so slow with multiple dictionaries #40
Comments
I have the notifications popping up |
Restarting the kernel makes it go away. The way for me to reproduce it is to install a kernel and switch tabs from one notebook and back to the same one. |
@Fred-Wu Please could you provide a code sample and steps to repro this issue. |
It's been for a while, and it also happens occasionally so I have disabled it. |
This problem happens to me even without executing any cell. Usually when moving the cursor around or typing out a line from the middle will spawn 20+ "Executing code" notifications. Each can take several seconds to complete. It looks like contextual help is processing the code under the cursor every time a new key is pressed. The "Code under cursor" shown in the panel actually "replays" me typing the line but very slowly. |
This is especially a problem if the code under the cursor is e.g. a large pandas dataframe. Contextual help will actually evaluate the string form of the dataframe which can take a very long time. |
I have multiple dictionaries with length 10,000 created and each key is associated with a (1, 300) vector. Then suddenly, running cells became so slow on the notebook. It took a few mins to show a single key-value pair, and even took about 4 mins to submit a written function.
So I checked
executing
notifications, and turned out that it might be caused by PowerToys.When I submitted a function, and there appeared multiple
Executing code
running at the same time.After disabling it, everything went back to normal.
The text was updated successfully, but these errors were encountered: