I create nodes programatically in a foreach loop (around 100 nodes) and the node saving proces cost around 4 seconds a node. Is there a way to make this proces faster? Has Drupal ways to programmatically insert multiple nodes at once?

Comments

hanno’s picture

In Drupal 6, it is possible to do this using the batch functionality. It gives a better user experience and gives the possibility to send information about the progress.
http://api.drupal.org/api/file/developer/examples/batch_example.module/6...

clemens.tolboom’s picture

Can you please add some code to this issue so I can reproduce is. Thanks

clemens.tolboom’s picture

Status: Active » Postponed (maintainer needs more info)
clemens.tolboom’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)