Posted by gitesh.koli on August 25, 2011 at 3:48pm
4 followers
| Project: | Homebox |
| Version: | 6.x-3.0-beta2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
In the homebox_build function there is a call to
$info[$block['module']] = module_invoke($block['module'], 'block', 'list');
If this page is being called frequently there is a significant overhead in collecting this information.
Especially if you have a lot of views.
If we cache this $info array it improves the performance.
Comments
#1
This is the patch that I am using.
#2
moving to 'needs review'
#3
Is working, but (at least for me) not much speed improvement
#4
A D7 version of this patch can be found at http://drupal.org/node/1373084