For sites with thousands of nodes rebuilding is very time intensive. To improve performance we should bypass inserting links where access or status is not true.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

davexoxide’s picture

Dave Reid’s picture

Title: Skip inserting new links that 'access' or 'status' not true » Rebuild should skip excluded bundles
Priority: Minor » Normal
Status: Active » Needs review
FileSize
661 bytes
PASSED: [[SimpleTest]]: [MySQL] 525 pass(es). View

Can you try this version out? It skips any non-enabled bundles during the rebuild process, so we shouldn't even process or save data for those items. This definitely would be a big performance improvement, especially on sites with large menus.

  • Dave Reid committed 9d93e9f on 7.x-2.x
    Issue #2392579 by davexoxide, Dave Reid: Rebuild should skip excluded...
Dave Reid’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev
Status: Needs review » Patch (to be ported)

Committed #2 to 7.x-2.x.

marvin_B8’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.34 KB