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

"Use prepared questions" screen can take time to load #2

Open
chrqls opened this issue Feb 15, 2014 · 2 comments
Open

"Use prepared questions" screen can take time to load #2

chrqls opened this issue Feb 15, 2014 · 2 comments

Comments

@chrqls
Copy link

chrqls commented Feb 15, 2014

Relative issue: SMILEConsortium#109

@chrqls
Copy link
Author

chrqls commented Feb 15, 2014

The problem

If we have a lot of IQSets preloaded in IQManager with sometimes images in them (in my case 9 IQSets containing 7-8 questions + an IQSet of 23 questions), the screen "Use prepared questions" can take a lot of time to load (between 20-30s to display).

The reason

If we have 10 iqsets, the teacher app makes 10 requests /smile/iqset/<key> to the server to get specific values such as the number of questions or the data to preview the iqset ( because /smile/iqsets does not deliver these values)

The solution

To fix this performance issue, that might be interesting to prepare these data directly from the server, at least adding the size of each iqset in /smile/iqsets

@chrqls
Copy link
Author

chrqls commented Feb 15, 2014

screen shot 2014-02-15 at 03 30 46

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