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

Deferred datastring column for insane Participant query speedup #504

Merged
merged 3 commits into from
May 13, 2021

Conversation

evankirkiles
Copy link
Contributor

By deferring the datastring column, we can skip loading in of the trial data JSON cells (which are generally massive), and only query them into a model on their first explicit reference from a Participant object. See here for more.

This cut my many-row queries on the Participants table down from 40+ seconds each to literally under 1. yay

@coveralls
Copy link

coveralls commented May 13, 2021

Coverage Status

Coverage remained the same at 59.993% when pulling fbf2d21 on evankirkiles:deferred-datastring into ba09ab1 on NYUCCL:master.

@deargle deargle merged commit 7ab9c5d into NYUCCL:master May 13, 2021
@deargle
Copy link
Collaborator

deargle commented May 13, 2021

🎉 🎉 🎉 Thanks @evankirkiles !

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