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
Server pagination #1373
Server pagination #1373
Conversation
- This makes the bootstrap table interface SO FREAKING MUCH FASTER - Search is now performed on the server too!
- Required for index page
@SchrodingersGat Wow very impressive! Nice work! Seems like large BOM loading is still slow, any idea why? |
@eeintech how long does it take to load the BOM table, and how many rows are in the BOM table? |
@SchrodingersGat There are 67 items in the BOM and it can take close to 20 seconds |
That's pretty slow indeed. With only 67 items I'd say there is something more serious going on that needs to be looked at. For reference, before I added server-side pagination for the "parts" list, loading all parts on my test database (~1000) took around 6 seconds. |
You're right, we have 200+ parts in our database and the part list is loading almost instantaneously. I'll have to investigate why our BOM doesn't follow the same logic... |
On further inspection it appears that any of the part detail views are very slow (~15 seconds just to load the "part detail" page). |
Adds server-side pagination for (some) data tables which significantly speeds up the UI - especially when there are a large number of records.
Fixes #310
The query is limited on the database side.
For a dataset of ~1000 records, this reduces query time from 6,000ms to ~100ms.