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

Element.table rendering time is non-linear in the size of the table data - problems with thousands of rows #359

Open
Andrew-Clow opened this issue Apr 9, 2024 · 0 comments
Labels
has-ellie This is a bug and has an ellie which demonstrates it.

Comments

@Andrew-Clow
Copy link

Andrew-Clow commented Apr 9, 2024

In this Ellie, you can see a significant difference in render time on lists with about 10 000 integers.

https://ellie-app.com/qP94mX6dBWXa1

(My real data is a similar length, but much more complex, and the number of seconds taken to render grows non-linearly with the length of the list of items I feed it. I need to give it thousands of rows, but in practice can only show hundreds unless I use Html.table instead.)

Items | Render time in Ellie, recompiling each time
10000 | 3 seconds
20000 | 10 seconds
30000 | 28 seconds

(Html.table renders 30 000 rows almost instantly in Ellie.)

Expected behavior
Reasonable render times for large numbers of rows.

Versions

  • OS: Windows
  • Browser: Tauri (WebView), DuckDuckGo, Firefox, Edge
  • Elm 19.0
  • Elm UI Version 1.1.8
@github-actions github-actions bot added the has-ellie This is a bug and has an ellie which demonstrates it. label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-ellie This is a bug and has an ellie which demonstrates it.
Projects
None yet
Development

No branches or pull requests

1 participant