MDL-72588 reportbuilder: performance improvement to report loader. 0188af39a1a5013db388545a6d7c7bdbe566a4c1
authorPaul Holden <paulh@moodle.com>
Wed, 6 Oct 2021 16:28:35 +0000 (17:28 +0100)
committerDavid Matamoros <davidmc@moodle.com>
Fri, 29 Oct 2021 10:50:20 +0000 (12:50 +0200)
commit0188af39a1a5013db388545a6d7c7bdbe566a4c1
tree74b10cd729e7c6d3ac133699385d18011e702e45
parent42481d5c432845946f324b8295fe69a42d4dfaca
MDL-72588 reportbuilder: performance improvement to report loader.

Statically cache list of loaded reports during request lifecycle,
this ensures that computationally heavy initialisation routines
in system reports are only executed once (e.g. the access tab).
lib/phpunit/classes/util.php
reportbuilder/classes/manager.php