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

Reduce the time to insert fields #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prdanelli
Copy link
Contributor

@prdanelli prdanelli commented Oct 12, 2017

Reduce the time to insert fields into blueprints that have large numbers of pages.

So now inserting a field into the top of a blueprint (causing all other fields to need to have at least their positions updated), has fallen from around 26,000ms to about 900ms (locally).

Some of this was done by removing acts as list with the pages and updating them from the blueprint instead. The rest came from using a batch insert for new fields and a batch update for existing ones.

This commit should not break anything.

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.

1 participant