Eric Trezza wrote:

> I need some help regarding the creation of a text file which is a XML
> file. Actually, PHP creates the file without any problem and the XML
> format is fine. My only trouble is that it take on average 3 or 4 minutes
> to perform the task.
> Do you have any idea why it takes so long ??

Which library are you using to do XML?

What's your source code look like?

See if you can't analyze what *PARTS* of the creation/writing are taking so 
long.

Wild Guess:
If it's being written to disk piece by piece, you *MIGHT* get a big 
speed-up in creating the XML doc as a giant string, and then writing it to 
disk in a "one shot" fwrite operation.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to