When displaying a node page (node/%nid), drupal_render is run twice on the content of the node :
- Once in template_preprocess_page() : $variables[$region_key] = drupal_render($variables['page'][$region_key]) for $region_key == 'content'
- Once in template_preprocess_node() : $variables['content'] = drupal_render($node->content);

Comments

casey’s picture

Issue tags: +Performance

Not tested whether this problem still exists (probably not), but rendering things once is always faster than twice :)

moshe weitzman’s picture

Status: Active » Fixed

pretty sure this is gone now with render()

Status: Fixed » Closed (fixed)
Issue tags: -Performance

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