Giter Club home page Giter Club logo

Comments (3)

amunger avatar amunger commented on August 16, 2024 1

@arman258 I created another issue for that since it doesn't have anything to do with serializing large notebooks.

from vscode.

amunger avatar amunger commented on August 16, 2024

I played around with an incremental serialization that would allow for more responsiveness (draft PR), basically serializing the code cells one at a time and checking for cancellation in between and the results were not very promising - serialization takes around 4x as long and still has some pretty significant hiccups in execution time.

@rebornix - do you have any ideas for improvement here? Perhaps something like a dedicated worker thread on the EH?

from vscode.

arman258 avatar arman258 commented on August 16, 2024

@amunger coming from #211154, I think copilot has something to do with this issue. Take a look at the videos below; I just started working on another .ipynb file, not even 2 cells with about 20-30 lines of codes, the slowness started. You can clearly see the copilot trying to do something and lagging the jupyter to show the output.

I also face the same issue with another AI code completion called Codeium. The behavior is the same. Disabling them seems to handle the jupyter files better, but as the file starts to get complicated, it gets slow again.

ms-toolsai.jupyter-unresponsive.cpuprofile.txt

image

2024-06-04.15-05-36.mp4
2024-06-04.15-09-52.mp4

from vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.