Skip to content
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

.csv file viewer very slow #16329

Open
asteppke opened this issue May 14, 2024 · 3 comments
Open

.csv file viewer very slow #16329

asteppke opened this issue May 14, 2024 · 3 comments

Comments

@asteppke
Copy link
Contributor

Description

I vividly remember that during the transition from Jupyter Notebook to Jupyter Lab that there was a presentation from the core team where a .csv file was opened and scrolling through a huge table happened smooth and instantaneous.

Recently I need to work more and more with .csv files and even scrolling from top to bottom in a very moderately sized table (15 rows, 2000 columns) takes roughly 1-2 minutes.

No other parts of the interface (menus, notebooks, side-panels) show any sign of sluggishness.

Reproduce

  1. Open a .csv file of moderate size (< 1 MB) with mixed contents (numbers and strings)
  2. Scroll to the bottom and observe the update rate of the output (roughly every 2 seconds)

Expected behavior

Fast scrolling in both dimensions.

Context

Linux (RHEL 8)
Jupyterlab 4.1.8
Chrome browser

Several extensions that should not influence .csv file behavior as far as I know:

  • jupyterlab-matplotlib
  • jupyterlab-jupytext
  • jupyterlab-code-formatter
  • jupyterlab-pygments
  • jupyterlab-collaboration-extension
@asteppke asteppke added the bug label May 14, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label May 14, 2024
@krassowski
Copy link
Member

Can you also reproduce this with the examples on https://lumino.readthedocs.io/en/latest/examples/datagrid/index.html ?

@asteppke
Copy link
Contributor Author

@krassowski Thank you for looking into this instantly!

In the lumino examples the "Streaming Rows", "Random Ticks 2" and "Trillion Rows" are very slow (2s updates) here.

@JasonWeill
Copy link
Contributor

In the examples on my computer (macOS Ventura, M1 Pro chip, Firefox), "Random Ticks 2" is well below 60 fps when I scroll on either axis. Other examples on that page render smoothly. With Chrome on the same computer, only "Streaming Rows" displays very slowly.

Which version of Chrome are you using? Do you have hardware acceleration enabled? If so or if not, how does the behavior change when you disable/enable hardware acceleration in Chrome settings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants