Skip to content

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

Description

@Andrew-Clow

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-ellieThis is a bug and has an ellie which demonstrates it.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions