Skip to content

Conversation

@allenhumphreys
Copy link
Collaborator

After examining the algorithm for creating the schedule groupings, I realized that we only need them sorted by time. The SessionInstance.standardSort is very complex and reaches across linking objects. As a result, large amounts of memory must be used as every object in the graph has to be materialized.

Before:

Screenshot 2023-06-08 at 3 34 37 PM

After:
Screenshot 2023-06-08 at 3 30 43 PM

@insidegui
Copy link
Owner

Amazing work! 🚀

@insidegui insidegui merged commit 7fdc5ed into master Jun 9, 2023
@allenhumphreys allenhumphreys deleted the ah/improve-update-performance branch June 22, 2023 00:01
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.

3 participants