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

question and answer page performance due to iterative queries #14

Open
asyks opened this issue Jan 13, 2017 · 2 comments
Open

question and answer page performance due to iterative queries #14

asyks opened this issue Jan 13, 2017 · 2 comments

Comments

@asyks
Copy link
Collaborator

asyks commented Jan 13, 2017

As a user, I want the question and answer pages to load faster so that I don't have to wait.

The question and answer pages generate a very large number of queries (currently takes 5 seconds to load for my dataset of 1800 questions) Modify the code so that fewer queries are run. Consider using the Django Debug Toolbar to see which queries are being generated.

@asyks
Copy link
Collaborator Author

asyks commented Jan 13, 2017

#12

@asyks
Copy link
Collaborator Author

asyks commented Jan 23, 2017

Got all the tests passing. Next I'm going to move the private test methods to an object within the app code

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

No branches or pull requests

1 participant