I am doing some performance testing on a site that uses Signwriter. When I turn on the Devel query log, I see that Signwriter is calling signwriter_load_profile() 23 times in a row, and this is happening multiple times on each page load.

0.19
23
signwriter_load_profile
SELECT * FROM signwriter WHERE name = 'Primary Navigation'

I've attached a screenshot that shows a subset of the query log - the function is getting called much more than the screenshot illustrates.

CommentFileSizeAuthor
signwriter_queries.png87.69 KBebeyrent
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ebeyrent’s picture

Anyone have any thoughts on this?

Looks like it might be related to #609404: Query Optimization. Has anyone taken a look at that patch?