used devel module & it identified the same query running multiple times. ID'ed problem with 6.11; patch is for 6.x-1.x dev.
_nodewords_get_tags_data_query()

Comments

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new991 bytes
damienmckenna’s picture

Issue tags: +v6.x-1.12 blocker

Thank you. Will review this for the next release.

dave reid’s picture

This function makes me cry.

mikeytown2’s picture

nodewords has made me cry many times; I opt to get in & get out as quick as possible. I'm sure if you look upstream you can make this faster. Main objective is saving the time it takes going over the network to the MySQL server on another box.

dave reid’s picture

StatusFileSize
new0 bytes

So it turns out that only one line of code in the module calls this function. Hilarious.

dave reid’s picture

StatusFileSize
new1.16 KB
mikeytown2’s picture

any chance of getting a static in there?

dave reid’s picture

Have you re-tested with devel & 6.x-1.x to see if a static is necessary? I tested this using the latest code and devel says it runs this query 10 times, but each time with a different ID, and each individual ID query was only run once.

mikeytown2’s picture

I'll recheck when I get back from vacation... nov 10th or so

dave reid’s picture

Status: Needs review » Fixed

I went ahead and committed #6 to CVS. Re-open if you can confirm that static caching is needed, otherwise I feel ok marking this as fixed for now.
http://drupal.org/cvs?commit=444034

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

damienmckenna’s picture

Status: Closed (fixed) » Needs work

Needs to be re-rolled against the latest 6.x-1.x codebase.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new2.15 KB

Re-rolled against the current 6.x-1.x codebase.

damienmckenna’s picture

StatusFileSize
new1.72 KB

Re-rolled.

damienmckenna’s picture

StatusFileSize
new1.79 KB

Re-rolled again.

damienmckenna’s picture

Status: Needs review » Fixed

Committed, again.

Status: Fixed » Closed (fixed)
Issue tags: -v6.x-1.12 blocker

Automatically closed -- issue fixed for 2 weeks with no activity.