#22193Inefficient fetch of templates from table sys_template
Description
Every basic template which is included in another template is fetched with a single database query.
So on sites which includes many additional templates in the root template this could be a performance bottleneck.
I attached a patch which fetches all the needed templates with one query.
For the testet site the patch gives an performance boost from 40 requests/s before to 62 requests/s after.
The site includes about 30 basic templates into the root template, which is rather unusual. So i don’t think the performance enhancement will be so big on typical sites.
(issue imported from #M13669)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.