Closed (won't fix)
Project:
Node factory
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 May 2008 at 19:39 UTC
Updated:
20 Jan 2009 at 12:28 UTC
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
Comment #1
hanno commentedIn 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...
Comment #2
clemens.tolboomCan you please add some code to this issue so I can reproduce is. Thanks
Comment #3
clemens.tolboomComment #4
clemens.tolboom