Cripplingly slow UI: am I the only one?

I have also had similar issues, particularly with notebooks that are mostly made up of code cells. I haven’t done a ton of thorough testing of the issue (since it does not seem to appear consistently) but some of the things I found trying to debug this on my machine from time to time:

  • It can be impacted by the amount of displayed media in the notebook (e.g., high res matplotlib images) but is not limited to them. I seem to run into this problem primarily with notebooks made up of a large number of code cells
  • Switching from Chrome to Safari made a huge difference. Firefox had the same performance issues as Chrome. The same notebook that would freeze up and lag would open and scroll fine in Safari. Though Safari is extremely laggy when using the CSV viewer on any size file.
  • Restarting Jupyterlab from scratch helps reduce the issue. There seems to be some relationship to time as the longer I work the more likely the big notebooks will experience a big and lasting spike in lag
  • The issue seems to be limited to bigger notebooks (roughly 50-100 cells)
  • The slow responsiveness is not just limited to the large notebook itself but impacts everything in the UI (e.g., moving tiles around, resizing things, etc)

My Info:
Machine: MacBook Pro (2017)
Processor: 2.9 GHz Quad-Core Intel Core i7
RAM: 16 GB 2133 MHz LPDDR3
Graphics: Radeon Pro 560 4 GB, Intel HD Graphics 630 1536 MB

Jupyerlab: v2.2.0
Extensions:
bokeh/jupyter_bokeh v2.0.3
jupyter-voila/jupyterlab-preview v1.1.0
jupyter-widgets/jupyterlab-manager v2.0.0
jupyter-widgets/jupyterlab-sidecar v0.5.0
jupyterlab/git v0.20.0
jupyterlab/toc v4.0.0
karosc/jupyterlab_dracula v2.0.3
krassowski/jupyterlab_go_to_definition v1.0.0
lckr/jupyterlab_variableinspector v0.5.1
mohirio/jupyterlab-horizon-theme v2.0.0
oriolmirosa/jupyterlab_materialdarker v0.5.0
ryantam626/jupyterlab_code_formatter v1.3.5
telamonian/theme-darcula v2.0.0
yeebc/jupyterlab_neon_theme v1.0.6
bqplot v0.5.14
jupyter-leaflet v0.13.1
jupyter-matplotlib v0.7.3
nbdime-jupyterlab v2.0.0