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

ScrollingPagination performance for large number of pages #994

Closed
BilalSaw opened this issue Dec 31, 2024 · 1 comment
Closed

ScrollingPagination performance for large number of pages #994

BilalSaw opened this issue Dec 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Milestone

Comments

@BilalSaw
Copy link

It takes a lot of time to load the page if there are a large number of elements,

we simulated the scenario, assuming we have 2 million records (the total elements set as a fixed value in the frontend code)
any page take about 4s to load even if don't have any real records

browser performance test :

total duration: 4.12 s
network : 40 ms
main thread 4.07 s

note:
Main Thread Activity: This includes the time spent executing JavaScript, handling events, and rendering.
Scripting: Shows how much time is spent executing JavaScript code.

performance - network result

performance - main thread result

network tab

Screencast.from.2024-12-31.11-49-00.webm
@vegegoku vegegoku self-assigned this Dec 31, 2024
@vegegoku vegegoku added the enhancement New feature or request label Dec 31, 2024
@github-project-automation github-project-automation bot moved this to To do in Domino UI Dec 31, 2024
@vegegoku vegegoku added version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues labels Dec 31, 2024
@vegegoku vegegoku added this to the 2.0.4 milestone Dec 31, 2024
@vegegoku
Copy link
Member

The issue is related the the fact that the pagination component in use is trying to create all the elements for all pages in advance, this can be avoided by making this process a lazy process.

This affects both version 1.x.x and 2.x.x

A fix will be provided for both.

@vegegoku vegegoku changed the title Grid performance issue (ScrollingPagination component) ScrollingPagination performance for large number of pages Jan 5, 2025
@vegegoku vegegoku closed this as completed Jan 7, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in Domino UI Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Status: Done
Development

No branches or pull requests

2 participants