If the question bank is this slow, it is a performance bug and it should get fixed.
There is some work-in progress, the recent things in Epic MDL-86578 - for example this one MDL-85637.
In terms of investigating performance bugs: ... I wrote about this recently. See https://moodle.org/mod/forum/discuss.php?d=469969#p1891630
There is some work-in progress, the recent things in Epic MDL-86578 - for example this one MDL-85637.
In terms of investigating performance bugs: ... I wrote about this recently. See https://moodle.org/mod/forum/discuss.php?d=469969#p1891630