Samigo > improve performance when copying questions from pool to quiz

Description

The performance of copying questions from a question pool to a quiz is a little sluggish. In our testing, using a question pool of 25 questions, it took an average of ~19000 ms to copy all 25 questions from the pool to a quiz. The larger the number of questions imported, the longer it takes.

After the PR is applied, this same process using the same site, same quiz, and same 25 questions from the question pool reduced the processing time to an average of ~2800 ms.

Activity

Show:

Matthew Jones May 30, 2018 at 7:06 AM

Thanks , I merged your PR to 11 and picked this back to 12.x.

Daniel Merino May 30, 2018 at 5:51 AM

I have tested this in https://trunk-mysql.nightly.sakaiproject.org/portal/

A question pool of 30 quizzes has been copied into a new test in about 5 seconds.

Matthew Jones May 29, 2018 at 10:19 AM

Could we get a verification on the test plan that this is still working as expected on nightly? Then we'll merge this and the 11.x one back. Ideally we'll get the Sakai 11 also tested.

Daniel Merino May 28, 2018 at 5:03 AM

I have done a backport of this patch for our 11.4 and have submitted a PR against 11.x branch.

Fixed

Details

Priority

Affects versions

Assignee

Reporter

Created April 25, 2018 at 9:53 AM
Updated May 30, 2018 at 7:06 AM
Resolved May 22, 2018 at 10:14 AM