Skip to content

Speed up class list importing. #2713

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

drgrice1
Copy link
Member

Use a batch insertion and update for users, permissions, and passwords when importing a class list.

This improves the speed of imporing large class lists quite a bit. For example, importing a classlist containing 5000 users improves from around 22 seconds to around 7 seconds in my testing.

@pstaabp
Copy link
Member

pstaabp commented Apr 26, 2025

I tested the reloading of the large classlist you provided and skipped 5000 users. The dialog box is many pages worth. I was thinking that shortening the list if over 100 skipped user would be nice, but then again this is an extreme example and may not be worth the work.

Copy link
Member

@pstaabp pstaabp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sped things up a bit.

Use a batch insertion and update for users, permissions, and passwords
when importing a class list.

This improves the speed of imporing large class lists quite a bit.  For
example, importing a classlist containing 5000 users improves from
around 22 seconds to around 7 seconds in my testing.
@drgrice1 drgrice1 force-pushed the classlist-import-speed-up branch from 6769d39 to 16a6de3 Compare April 27, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants