davidbrochart / nbterm

Jupyter Notebooks in the terminal.
MIT License
745 stars 37 forks source link

Improve the performance of nbterm #26

Closed dclong closed 3 years ago

dclong commented 3 years ago

nbterm runs slowly on even small notebooks. It responses slowly to navigation keys (up key, down key, etc).

davidbrochart commented 3 years ago

My experience is that nbterm doesn't scale well with the number of cells in the notebook, in terms of performance. I am not sure how to improve that, see https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1425.

davidbrochart commented 3 years ago

I think the best would be to use the ScrollingContainer implemented in euporie, see https://github.com/joouha/euporie/issues/6.