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

dddave’s picture

Nobody interested? All using context now?

Would such a patch be included into D6 anyways?

NancyDru’s picture

I guess not, even though there is a similar problem in D7.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.