Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The "configure" link on the block admin page uses the "l" function, which in turn uses "url" which in turn causes a "drupal_path_lookup" on the block configuration link. I doubt seriously that anyone, on any site, has bothered to alias these links. By adding array('alias' => TRUE)
to the "l", I reduced to query count for the page by 70% and the query time by a third.
If someone is interested in this performance fix for 6.x, I will be happy to produce this trivial patch.
Comments
Comment #1
dddave CreditAttribution: dddave commentedNobody interested? All using context now?
Would such a patch be included into D6 anyways?
Comment #2
NancyDruI guess not, even though there is a similar problem in D7.