Needs review
Project:
Node Reference URL Widget
Version:
6.x-1.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2012 at 07:56 UTC
Updated:
26 Jul 2012 at 09:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwightaspinwall commentedPatch provided. This replaces the call to content_fields() with a call to a new function nodereference_url_content_fields() that returns only those fields with instances implementing the nodereference_url widget. Also does a little bit of static caching. On page tested, total time in nodereference_url_link() dropped to 33.38 ms.
Comment #2
dwightaspinwall commentedCalling this a bug because, well, modules should scale and be mindful of hook performance. The observation here is that merely turning this module on, without even changing the widget of a single field instance, would add significant load overhead to a large site.